[Python-modules-commits] [python-exif] 12/19: show python major version in version info
Wolfgang Borgert
debacle at moszumanska.debian.org
Mon Oct 6 22:18:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to reference refs/remotes/upstream/develop
in repository python-exif.
commit a74fee86fdf71dd6948ed4f17d7c9057128d476a
Author: ianaré sévi <ianare at gmail.com>
Date: Mon Jan 13 22:32:08 2014 +0100
show python major version in version info
---
EXIF.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/EXIF.py b/EXIF.py
index fb125cf..df97187 100755
--- a/EXIF.py
+++ b/EXIF.py
@@ -43,7 +43,7 @@ def usage(exit_status):
def show_version():
"""Show the program version."""
- print('Version %s' % __version__)
+ print('Version %s on Python%s' % (__version__, sys.version_info[0]))
sys.exit(0)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-exif.git
More information about the Python-modules-commits
mailing list