diff --git a/systemvm/patches/debian/config/opt/cloud/bin/update_config.py b/systemvm/patches/debian/config/opt/cloud/bin/update_config.py index b3fb68d1a28..4c017abcfbf 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/update_config.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/update_config.py @@ -29,13 +29,13 @@ logging.basicConfig(filename='/var/log/cloud.log', level=logging.DEBUG, format=' # first commandline argument should be the file to process if (len(sys.argv) != 2): - print "Invalid usage" + print "[ERROR]: Invalid usage" sys.exit(1) # FIXME we should get this location from a configuration class filePath = "/var/cache/cloud/%s" % sys.argv[1] if not (os.path.isfile(filePath) and os.access(filePath, os.R_OK)): - print "You are telling me to process %s, but i can't access it" % filePath + print "[ERROR]: You are telling me to process %s, but i can't access it" % filePath sys.exit(1) # If the command line json file is unprocessed process it