1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00

Bug correction

This commit is contained in:
Paul Fariello 2011-02-18 09:23:24 +01:00 committed by Steve Schnepp
parent 045aafddbe
commit d5be273cb5

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.6
# -*- encoding: iso-8859-1 -*- # -*- encoding: iso-8859-1 -*-
""" """
: << =cut : << =cut
@ -197,8 +197,8 @@ if __name__ == '__main__':
config() config()
elif sys.argv[1]=="autoconf" : elif sys.argv[1]=="autoconf" :
autoconf() autoconf()
else: elif sys.argv[1]!="":
raise ValueError, "unknown parameter '%s'" % sys.argv[1] raise ValueError, "unknown parameter '%s'" % sys.argv[1]
else:
fetch() fetch()
sys.exit(0) sys.exit(0)