projects
/
winfreed.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
winfreed.py: print version in the 'show' command
[winfreed.git]
/
winfreed.py
diff --git
a/winfreed.py
b/winfreed.py
index
6051d24
..
6a5e7b5
100755
(executable)
--- a/
winfreed.py
+++ b/
winfreed.py
@@
-63,6
+63,8
@@
def process_all(path, cb):
def show(pkg):
print 'Package: ', pkg['package_name']
print 'Program: ', pkg['name']
+ if pkg.has_key('version'):
+ print 'Version: ', pkg['version']
print 'Homepage: ', pkg['homepage']
print