mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
Adding a verbosity mode argument handling.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3499 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
68f125afb0
commit
57df761cd0
5
gen.py
5
gen.py
@ -42,6 +42,7 @@ import getopt
|
||||
XEPPATH = "/var/www/vhosts/xmpp.org/extensions"
|
||||
BUILDDICT = "/var/xsf/xepbuild.dict"
|
||||
|
||||
verbose = 0
|
||||
last_build = {}
|
||||
|
||||
def filebase( filename ):
|
||||
@ -156,6 +157,10 @@ def main(argv):
|
||||
print "Error"
|
||||
sys.exit(2)
|
||||
|
||||
for opt, arg in options:
|
||||
if opt in ('-v'):
|
||||
verbose = 1
|
||||
|
||||
xep = remainder[0]
|
||||
|
||||
last_build = loadDict(BUILDDICT)
|
||||
|
Loading…
Reference in New Issue
Block a user