Rev 2453: Remove an superfluous 'else' in http://bzr.arbash-meinel.com/branches/bzr/0.16-dev/rename_directory_105479
John Arbash Meinel
john at arbash-meinel.com
Sat Apr 21 15:28:31 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.16-dev/rename_directory_105479
------------------------------------------------------------
revno: 2453
revision-id: john at arbash-meinel.com-20070421142752-g2e1jf6g80mut86e
parent: john at arbash-meinel.com-20070420203953-qljfem7wrpujktl9
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: rename_directory_105479
timestamp: Sat 2007-04-21 09:27:52 -0500
message:
Remove an superfluous 'else'
modified:
bzrlib/dirstate.py dirstate.py-20060728012006-d6mvoihjb3je9peu-1
-------------- next part --------------
=== modified file 'bzrlib/dirstate.py'
--- a/bzrlib/dirstate.py 2007-04-20 17:57:13 +0000
+++ b/bzrlib/dirstate.py 2007-04-21 14:27:52 +0000
@@ -2229,11 +2229,10 @@
raise AssertionError(
"no parent entry for: %s in tree %s"
% (this_path, tree_index))
- else:
- if parent_entry[1][tree_index][0] != 'd':
- raise AssertionError(
- "Parent entry for %s is not marked as a valid"
- " directory. %s" % (this_path, parent_entry,))
+ if parent_entry[1][tree_index][0] != 'd':
+ raise AssertionError(
+ "Parent entry for %s is not marked as a valid"
+ " directory. %s" % (this_path, parent_entry,))
# For each file id, for each tree: either
# the file id is not present at all; all rows with that id in the
More information about the bazaar-commits
mailing list