Revision a307c2e5 snf-deploy/snfdeploy/__init__.py

b/snf-deploy/snfdeploy/__init__.py
286 286
  if not args.dry_run:
287 287
    ret = os.system(fabcmd)
288 288
    if ret != 0:
289
        print "exit with status %s" % ret
290
        sys.exit(ret)
289
        status = "exit with status %s" % ret
290
        sys.exit(status)
291 291

  
292 292

  
293 293
def cluster(args, env):

Also available in: Unified diff