[Pkg-bazaar-commits] ./bzr/unstable r564: - Set Branch.base in class def to avoid it being undefined

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:29 UTC 2009


------------------------------------------------------------
revno: 564
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-05-27 02:09:33 +1000
message:
  - Set Branch.base in class def to avoid it being undefined
    when introspecting half-constructed branches
modified:
  bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2005-05-26 02:13:57 +0000
+++ b/bzrlib/branch.py	2005-05-26 16:09:33 +0000
@@ -87,6 +87,7 @@
         Base directory of the branch.
     """
     _lockmode = None
+    base = None
     
     def __init__(self, base, init=False, find_root=True, lock_mode='w'):
         """Create new branch object at a particular location.



More information about the Pkg-bazaar-commits mailing list