~cjwatson/ubiquity/new-partitioner

« back to all changes in this revision

Viewing changes to ubiquity/components/language.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:
21
21
import re
22
22
import locale
23
23
 
24
 
from espresso.filteredcommand import FilteredCommand
25
 
from espresso import misc
 
24
from ubiquity.filteredcommand import FilteredCommand
 
25
from ubiquity import misc
26
26
 
27
27
class Language(FilteredCommand):
28
28
    def prepare(self):
29
29
        self.language_question = None
30
30
        questions = ['^languagechooser/language-name']
31
 
        return (['/usr/lib/espresso/localechooser/localechooser'], questions,
32
 
                {'PATH': '/usr/lib/espresso/localechooser:' + os.environ['PATH']})
 
31
        return (['/usr/lib/ubiquity/localechooser/localechooser'], questions,
 
32
                {'PATH': '/usr/lib/ubiquity/localechooser:' + os.environ['PATH']})
33
33
 
34
34
    def run(self, priority, question):
35
35
        if question.startswith('languagechooser/language-name'):