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

  • Committer: James Westby
  • Date: 2008-03-08 14:57:35 UTC
  • mto: (0.64.56 fastimport_trunk)
  • mto: This revision was merged to the branch mainline in revision 6631.
  • Revision ID: jw+debian@jameswestby.net-20080308145735-lniw4cqnxaf5n0si
ImportProcessor.params is a dict, not a list.

If the caller doesn't provide any params then it should default to the empty
dict. However the code was defaulting to the empty list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    def __init__(self, bzrdir, params=None, verbose=False):
38
38
        self.verbose = verbose
39
39
        if params is None:
40
 
            self.params = []
 
40
            self.params = {}
41
41
        else:
42
42
            self.params = params
43
43
            self.validate_parameters()