diff options
author | Karel Kočí <cynerd@email.cz> | 2015-07-24 17:24:04 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-07-24 17:24:04 +0200 |
commit | aa993b1a62314c45e5127b97ec131c8dc048a6fa (patch) | |
tree | d989d4add426aa14416b745823c9cf6997847c00 /scripts/database.py | |
parent | 4df04029a616013e1d795102eab790c628d6dac1 (diff) | |
download | linux-conf-perf-aa993b1a62314c45e5127b97ec131c8dc048a6fa.tar.gz linux-conf-perf-aa993b1a62314c45e5127b97ec131c8dc048a6fa.tar.bz2 linux-conf-perf-aa993b1a62314c45e5127b97ec131c8dc048a6fa.zip |
Fix big amount of bugs in recently commited code
Recently committed code wasn't tested, because most of the required infrastructure wasn't yet written.
So bugs must be fixed after more parts of system are reimplemented.
Diffstat (limited to 'scripts/database.py')
-rw-r--r-- | scripts/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/database.py b/scripts/database.py index 0c4abe9..2e96b44 100644 --- a/scripts/database.py +++ b/scripts/database.py @@ -8,11 +8,11 @@ from conf import conf def __git_describe__(): return utils.callsubprocess('git_describe', - conf.git_describe_cmd, False).rstrip() + conf.git_describe_cmd, False, True)[0] def __git_commit__(): return utils.callsubprocess('git_rev_parse', - conf.git_commit_cmd, False).rstrip() + conf.git_commit_cmd, False, True)[0] def __timestamp__(): return datetime.datetime.now().strftime('%y-%m-%d-%H-%M-%S') |