~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: John Arbash Meinel
  • Date: 2010-08-06 18:14:22 UTC
  • mto: This revision was merged to the branch mainline in revision 5374.
  • Revision ID: john@arbash-meinel.com-20100806181422-puv63wplscz2mc0w
As suggested by Martin <gz>, switch to tuple unpacking for attribute assignment

Show diffs side-by-side

added added

removed removed

Lines of Context:
1824
1824
 
1825
1825
    def __init__(self, parents, position_info):
1826
1826
        self._parents = parents
1827
 
        self._index = position_info[0]
1828
 
        self._group_start = position_info[1]
1829
 
        # Is this _end or length? Doesn't really matter to us
1830
 
        self._group_end = position_info[2]
1831
 
        self._basis_end = position_info[3]
1832
 
        self._delta_end = position_info[4]
 
1827
        (self._index, self._group_start, self._group_end, self._basis_end,
 
1828
         self._delta_end) = position_info
1833
1829
 
1834
1830
    def __repr__(self):
1835
1831
        return '%s(%s, %s)' % (self.__class__.__name__,