The get_git_version function takes a |version| argument, but doesn't
actually use it, which makes calls to the function with a version do
nothing. Tweak the function to use the arg in the way it looks like
it intended.
---
catalyst/version.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catalyst/version.py b/catalyst/version.py
index 5deb4d7..3b82988 100644
--- a/catalyst/version.py
+++ b/catalyst/version.py
@@ -31,7 +31,7 @@ def get_git_version(version=__version__):
s = ('vcs version %s, date %s' %
(version_info['rev'], version_info['date']))
- _ver = 'Catalyst %s\n%s' % (__version__, s)
+ _ver = 'Catalyst %s\n%s' % (version, s)
return _ver
--
2.5.2