summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 0bb315f7c..56503ab5b 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -26,7 +26,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core):
Bcfg2.Server.Core.Core.__init__(self, {}, cfpath)
except Bcfg2.Server.Core.CoreInitError, msg:
print "Core load failed because %s" % msg
- raise SystemExit, 1
+ raise SystemExit(1)
self.prompt = '> '
self.cont = True
for i in range(25):
@@ -41,7 +41,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core):
def do_quit(self, _):
"""Exit program.
Usage: [quit|exit]"""
- raise SystemExit, 0
+ raise SystemExit(0)
do_EOF = do_quit