projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37004c
)
Remove redundant re import from previous bzr version_cmp patch.
author
W. Trevor King
<wking@drexel.edu>
Thu, 8 Sep 2011 02:09:00 +0000
(22:09 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 8 Sep 2011 02:09:00 +0000
(22:09 -0400)
libbe/storage/vcs/bzr.py
patch
|
blob
|
history
diff --git
a/libbe/storage/vcs/bzr.py
b/libbe/storage/vcs/bzr.py
index 00435cb6a51f3c1596a85ee1b9417e84d3d0413b..6b625c20573ca66e4bf829081bf765cdd4fa7311 100644
(file)
--- a/
libbe/storage/vcs/bzr.py
+++ b/
libbe/storage/vcs/bzr.py
@@
-123,7
+123,6
@@
class Bzr(base.VCS):
self._parsed_version.append(int(num))
except ValueError, e:
# bzr version number might contain non-numerical tags
- import re
splitter = re.compile(r'[\D]') # Match non-digits
splits = splitter.split(num)
# if len(tag) > 1 some splits will be empty; remove