Rev 5542: Better name for the local variable/ in file:///home/vila/src/bzr/bugs/676608-orphan-reporting/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Nov 19 16:28:25 GMT 2010
At file:///home/vila/src/bzr/bugs/676608-orphan-reporting/
------------------------------------------------------------
revno: 5542
revision-id: v.ladeuil+lp at free.fr-20101119162825-ea26gswbb0jxadhj
parent: v.ladeuil+lp at free.fr-20101119083439-7dg2iit644v586df
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 676608-orphan-reporting
timestamp: Fri 2010-11-19 17:28:25 +0100
message:
Better name for the local variable/
-------------- next part --------------
=== modified file 'bzrlib/transform.py'
--- a/bzrlib/transform.py 2010-11-19 08:34:39 +0000
+++ b/bzrlib/transform.py 2010-11-19 16:28:25 +0000
@@ -708,13 +708,12 @@
for parent_id, children in by_parent.iteritems():
if parent_id is ROOT_PARENT:
continue
- existing = False
+ no_children = True
for child_id in children:
if self.final_kind(child_id) is not None:
- existing = True
+ no_children = False
break
- if not existing:
- # We have no child
+ if no_children:
continue
# There is at least a child, so we need an existing directory to
# contain it.
More information about the bazaar-commits
mailing list