summaryrefslogtreecommitdiffstats
path: root/bin/archive-conf
diff options
context:
space:
mode:
Diffstat (limited to 'bin/archive-conf')
-rwxr-xr-xbin/archive-conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/archive-conf b/bin/archive-conf
index 680a99cb5..227bcece2 100755
--- a/bin/archive-conf
+++ b/bin/archive-conf
@@ -73,7 +73,7 @@ def archive_conf():
try:
contents = open(file, "r")
except IOError as e:
- print >> sys.stderr, 'archive-conf: Unable to open %s: %s' % (file, e)
+ print('archive-conf: Unable to open %s: %s' % (file, e), file=sys.stderr)
sys.exit(1)
lines = contents.readlines()
for line in lines:
@@ -106,4 +106,4 @@ def archive_conf():
if len(sys.argv) > 1:
archive_conf()
else:
- print >> sys.stderr, 'Usage: archive-conf /CONFIG/FILE [/CONFIG/FILE...]'
+ print('Usage: archive-conf /CONFIG/FILE [/CONFIG/FILE...]', file=sys.stderr)