~didrocks/ubiquity/intall-metrics

« back to all changes in this revision

Viewing changes to ubiquity/filteredcommand.py

  • Committer: Colin Watson
  • Date: 2006-04-21 11:39:15 UTC
  • Revision ID: colin.watson@canonical.com-20060421113915-7d2d711cd6afc4f5
* Rename from espresso to ubiquity, to better suggest an association with
  Ubuntu. Log output now written to /var/log/installer/syslog rather than
  using the package name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
try:
9
9
    from debconf import DebconfCommunicator
10
10
except ImportError:
11
 
    from espresso.debconfcommunicator import DebconfCommunicator
12
 
from espresso.debconffilter import DebconfFilter
 
11
    from ubiquity.debconfcommunicator import DebconfCommunicator
 
12
from ubiquity.debconffilter import DebconfFilter
13
13
 
14
14
# We identify as this to debconf.
15
 
PACKAGE = 'espresso'
 
15
PACKAGE = 'ubiquity'
16
16
 
17
17
# Bitfield constants for process_input and process_output.
18
18
DEBCONF_IO_IN = 1
31
31
        self.succeeded = False
32
32
 
33
33
    def debug(self, fmt, *args):
34
 
        if 'ESPRESSO_DEBUG' in os.environ:
 
34
        if 'UBIQUITY_DEBUG' in os.environ:
35
35
            message = fmt % args
36
36
            print >>sys.stderr, '%s: %s' % (PACKAGE, message)
37
37
            sys.stderr.flush()