/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/rules.py

  • Committer: Parth Malwankar
  • Date: 2010-11-06 02:32:43 UTC
  • mto: (5532.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 5534.
  • Revision ID: parth.malwankar@gmail.com-20101106023243-hbzxn2ts3v7qzlpj
message is now shown to the user but is not too scary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 
75
75
        :param inifile: the name of the file or a sequence of lines.
76
76
        """
77
 
        options = {'encoding': 'utf-8'}
78
 
        self._cfg = configobj.ConfigObj(inifile, options=options)
 
77
        self._cfg = configobj.ConfigObj(inifile, encoding='utf-8')
79
78
        sections = self._cfg.keys()
80
79
        patterns = []
81
80
        self.pattern_to_section = {}