aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-09-05 21:20:46 -0400
committerW. Trevor King <wking@drexel.edu>2010-09-05 21:20:46 -0400
commit70910ac62711282502e67d31b8600bd5beb43cc9 (patch)
tree9b9b95e149b06490c36b860669c760a1038ab8ad /libbe/command
parentb8ad90ec382ec05af6473be7de4f88aed6f641ae (diff)
downloadbugseverywhere-70910ac62711282502e67d31b8600bd5beb43cc9.tar.gz
Default to "unknown" version info if libbe._version is missing.
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/show.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbe/command/show.py b/libbe/command/show.py
index c6ad37d..27be07c 100644
--- a/libbe/command/show.py
+++ b/libbe/command/show.py
@@ -26,7 +26,6 @@ import libbe.command
import libbe.command.util
import libbe.util.id
import libbe.version
-import libbe._version
class Show (libbe.command.Command):
@@ -158,7 +157,7 @@ def _xml_header(encoding):
' <version>',
' <tag>%s</tag>' % libbe.version.version()]
for tag in ['branch-nick', 'revno', 'revision-id']:
- value = libbe._version.version_info[tag.replace('-', '_')]
+ value = libbe.version.version_info[tag.replace('-', '_')]
lines.append(' <%s>%s</%s>' % (tag, value, tag))
lines.append(' </version>')
return lines