avoid error message if used with version 0.5.2
authorPascal Volk <neverseen@users.sourceforge.net>
Sat, 22 Aug 2009 18:21:04 +0000
changeset 130 9dca3e898ddb
parent 129 4ffb50de00d5
child 131 2b8154cc7ebe
avoid error message if used with version 0.5.2
update_config_0.4.x-0.5.py
--- a/update_config_0.4.x-0.5.py	Fri Aug 21 18:41:33 2009 +0000
+++ b/update_config_0.4.x-0.5.py	Sat Aug 22 18:21:04 2009 +0000
@@ -31,6 +31,9 @@
         upd_050(cp)
     elif VERSION == '0.5.1':
         upd_051(cp)
+    elif VERSION == '0.5.2':
+        os.sys.stdout.write('info: nothing to do for version %s\n' % VERSION)
+        os.sys.exit(0)
     else:
         os.sys.stderr.write(
             'error: the version %s is not supported by this script\n' % VERSION)