~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-07-11 06:46:11 UTC
  • Revision ID: mbp@sourcefrog.net-20050711064611-1c55eea897058160
- fix missing import

Show diffs side-by-side

added added

removed removed

Lines of Context:
948
948
        elif val.lower() == 'tomorrow':
949
949
            dt = today + datetime.timedelta(days=1)
950
950
        else:
 
951
            import re
951
952
            # This should be done outside the function to avoid recompiling it.
952
953
            _date_re = re.compile(
953
954
                    r'(?P<date>(?P<year>\d\d\d\d)-(?P<month>\d\d)-(?P<day>\d\d))?'