summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--virt-bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt-bootstrap.py b/virt-bootstrap.py
index 3cd520a..e475cd4 100644
--- a/virt-bootstrap.py
+++ b/virt-bootstrap.py
@@ -107,9 +107,9 @@ Example supported URI formats:
bootstrap(args)
sys.exit(0)
- except KeyboardInterrupt, e:
+ except KeyboardInterrupt as e:
sys.exit(0)
- except ValueError, e:
+ except ValueError as e:
for line in e:
for l in line:
sys.stderr.write("%s: %s\n" % (sys.argv[0], l))