[master 6/17] Change mkefiboot to py3
bcl
installerbot-noreply at redhat.com
Tue May 12 00:14:12 UTC 2015
From: "Brian C. Lane" <bcl at redhat.com>
Just a couple prints.
---
src/sbin/mkefiboot | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/sbin/mkefiboot b/src/sbin/mkefiboot
index 38a4ce0..075e4f1 100755
--- a/src/sbin/mkefiboot
+++ b/src/sbin/mkefiboot
@@ -1,7 +1,7 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
# mkefiboot - a tool to make EFI boot images
#
-# Copyright (C) 2011-2014 Red Hat, Inc.
+# Copyright (C) 2011-2015 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -145,9 +145,9 @@ def main():
if os.getuid() > 0:
parser.error("need root permissions")
if opt.icon and not opt.imgtype == "apple":
- print "Warning: --icon is only useful for Apple EFI images"
+ print("Warning: --icon is only useful for Apple EFI images")
if opt.diskname and not opt.imgtype == "apple":
- print "Warning: --diskname is only useful for Apple EFI images"
+ print("Warning: --diskname is only useful for Apple EFI images")
# do the thing!
if opt.imgtype == "apple":
mkmacboot(opt.bootdir, opt.outfile, opt.label, opt.icon, opt.product,
--
To view this commit on github, visit https://github.com/rhinstaller/lorax/commit/c17d3c932a411109315137e6697c8d2cd4991ab6
More information about the anaconda-patches
mailing list