]> arthur.barton.de Git - bup.git/commit
Move unshared version code from helpers to version-cmd.py 0.26-rc1
authorGabriel Filion <gabster@lelutin.ca>
Sat, 10 May 2014 22:45:37 +0000 (18:45 -0400)
committerRob Browning <rlb@defaultvalue.org>
Tue, 13 May 2014 19:08:22 +0000 (14:08 -0500)
commit16cd7cae8107e837447b6466f62cc9ce3b4fe635
tree892af80347d20a4ab6789a8013247b658d945445
parentc3052e6825c5501e5faaaf7137334513e9a172ed
Move unshared version code from helpers to version-cmd.py

While this is relatively "harmless", the import * directive brings in a
whole lot of unused code into the version subcommand.

At the same time, the three version_* functions are only used in the
version subcommand, so their place inside helpers.py is unjustified. The
same goes for the _version module.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
[rlb@defaultvalue.org: adjust commit message]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/version-cmd.py
lib/bup/helpers.py