~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

  • Committer: John Arbash Meinel
  • Date: 2007-04-21 14:39:50 UTC
  • mto: This revision was merged to the branch mainline in revision 2440.
  • Revision ID: john@arbash-meinel.com-20070421143950-glyo2gbmjwopp2w7
Remove a superfluous 'else' (recommended by Martin)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2229
2229
                raise AssertionError(
2230
2230
                    "no parent entry for: %s in tree %s"
2231
2231
                    % (this_path, tree_index))
2232
 
            else:
2233
 
                if parent_entry[1][tree_index][0] != 'd':
2234
 
                    raise AssertionError(
2235
 
                        "Parent entry for %s is not marked as a valid"
2236
 
                        " directory. %s" % (this_path, parent_entry,))
 
2232
            if parent_entry[1][tree_index][0] != 'd':
 
2233
                raise AssertionError(
 
2234
                    "Parent entry for %s is not marked as a valid"
 
2235
                    " directory. %s" % (this_path, parent_entry,))
2237
2236
 
2238
2237
        # For each file id, for each tree: either
2239
2238
        # the file id is not present at all; all rows with that id in the