/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 parser.py

fix reporting of non-utf8 commits to go to stderr

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
        self.date_parser = None
272
272
 
273
273
    def _warning(self, msg):
274
 
        print "warning line %d: %s" % (self.lineno, msg)
 
274
        sys.stderr.write("warning line %d: %s\n" % (self.lineno, msg))
275
275
 
276
276
    def iter_commands(self):
277
277
        """Iterator returning ImportCommand objects."""