[Pkg-bazaar-commits] ./bzr/unstable r901: - fix missing import

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:21:24 UTC 2009


------------------------------------------------------------
revno: 901
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-07-11 16:46:11 +1000
message:
  - fix missing import
modified:
  bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2005-07-11 06:13:18 +0000
+++ b/bzrlib/branch.py	2005-07-11 06:46:11 +0000
@@ -948,6 +948,7 @@
         elif val.lower() == 'tomorrow':
             dt = today + datetime.timedelta(days=1)
         else:
+            import re
             # This should be done outside the function to avoid recompiling it.
             _date_re = re.compile(
                     r'(?P<date>(?P<year>\d\d\d\d)-(?P<month>\d\d)-(?P<day>\d\d))?'



More information about the Pkg-bazaar-commits mailing list