~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

Python-2.6 doesn't allow passing passing parameters to object methods __init__
and __new__.    

* bzrlib/weave.py:
(Weave.__init__): Don't pass parameters to object.__init__.

* bzrlib/revisionspec.py:
(RevisionSpec.__new__): Don't pass parameters to object.__new__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
 
216
216
    __slots__ = ['_weave', '_parents', '_sha1s', '_names', '_name_map',
217
217
                 '_weave_name', '_matcher', '_allow_reserved']
218
 
    
 
218
 
219
219
    def __init__(self, weave_name=None, access_mode='w', matcher=None,
220
220
                 get_scope=None, allow_reserved=False):
221
221
        """Create a weave.
224
224
            for detecting when this weave goes out of scope (should stop
225
225
            answering requests or allowing mutation).
226
226
        """
227
 
        super(Weave, self).__init__(access_mode)
 
227
        super(Weave, self).__init__()
228
228
        self._weave = []
229
229
        self._parents = []
230
230
        self._sha1s = []