aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/editor.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-09-15 09:32:40 -0400
committerW. Trevor King <wking@drexel.edu>2009-09-15 09:32:40 -0400
commit0510a9773d213732892dd6a0a8644a252d95f4b5 (patch)
treeabfb7d11f4ac7b0725dd48bdb576cd878a4ff8e6 /libbe/editor.py
parentbac6ce2bc8b33850479b0dac7d646cdc988e5060 (diff)
downloadbugseverywhere-0510a9773d213732892dd6a0a8644a252d95f4b5.tar.gz
Added libbe.version, wrapping the auto-generated libbe._version.
Two major benefits: 1) Programatic access to the BE version. Previously the version-string logic was internal to the commandline interface ./be, which left the other interfaces hanging. 2) Simple to override auto-generated revision id version with any string you like (by setting libbe.version._VERSION, if that's the way you want to run things or the way your packaging system requires. Note that other modules should never read libbe.version._VERSION, since it may not be defined. Instead they should use the output of libbe.version.version().
Diffstat (limited to 'libbe/editor.py')
0 files changed, 0 insertions, 0 deletions