mirror of
https://github.com/moparisthebest/xeps
synced 2025-03-03 01:51:49 -05:00
Version bump. Accepts old calling behavior of gen.sh now.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3539 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
fdbb15757d
commit
82b1633806
11
gen.py
11
gen.py
@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# File: gen.py
|
||||
# Version: 0.1
|
||||
# Version: 0.2
|
||||
# Description: a renewed XEP compilation tool
|
||||
# Last Modified: 2009
|
||||
# Author: Tobias Markmann (tm@ayena.de)
|
||||
# License: public domain
|
||||
# HowTo: ./all.py
|
||||
# HowTo: ./gen.py xep-####.xml
|
||||
|
||||
## LICENSE ##
|
||||
#
|
||||
@ -287,6 +287,7 @@ def usage():
|
||||
print ""
|
||||
print "Options:"
|
||||
print "-v Enable verbose output for debugging."
|
||||
print "-a Build all available XEPs."
|
||||
|
||||
def main(argv):
|
||||
global verbose
|
||||
@ -305,7 +306,11 @@ def main(argv):
|
||||
buildall = True
|
||||
|
||||
if len(remainder) > 0:
|
||||
xep = remainder[0]
|
||||
try:
|
||||
xep = int(remainder[0])
|
||||
xep = "xep-%04d.xml" % xep
|
||||
except:
|
||||
xep = remainder[0]
|
||||
|
||||
last_build = loadDict(BUILDDICT)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user