chiark
/
gitweb
/
~matthewv
/
irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new flirt from Emperor (apropos remarks made about a cyclist)
[irc.git]
/
acrobat.py
diff --git
a/acrobat.py
b/acrobat.py
index 0d9202ea8f46b430cc2de8cfb0199b55ec58e4fd..7665d5f333b970d1744de07bafb5d41da72ec1a7 100755
(executable)
--- a/
acrobat.py
+++ b/
acrobat.py
@@
-81,11
+81,7
@@
def main():
if len(sys.argv) < 2:
print "acrobat: provide configuration module name on command line"
sys.exit(1)
if len(sys.argv) < 2:
print "acrobat: provide configuration module name on command line"
sys.exit(1)
- try:
- c=__import__(sys.argv[1])
- except ImportError:
- print "acrobat: configuration module "+sys.argv[1]+".py not found"
- sys.exit(1)
+ c=__import__(sys.argv[1])
# Override configuration items from the rest of the command line
for opt in sys.argv[2:]:
(key,value)=opt.split("=")
# Override configuration items from the rest of the command line
for opt in sys.argv[2:]:
(key,value)=opt.split("=")