projects
/
winfreed.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1649b9d
)
winfreed.py: print version in the 'show' command
author
Antonio Ospite <ospite@studenti.unina.it>
Sat, 16 Jun 2012 10:11:23 +0000
(12:11 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sat, 16 Jun 2012 10:11:23 +0000
(12:11 +0200)
winfreed.py
patch
|
blob
|
history
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