#48376: root6 : Update to 6.04.02 -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: root6 | -----------------------+--------------------------------- Comment (by mojca@…): Moreover: {{{ #!diff --- a/etc/dictpch/makepch.py +++ b/etc/dictpch/makepch.py @@ -25,7 +25,7 @@ def getArgs(): argv = sys.argv argc = len(argv) if argc < 2: - print "ERROR: too few arguments specified!" + print("ERROR: too few arguments specified!") pchFileName = argv[1] cxxflags = "" if argc > 2: @@ -72,7 +72,7 @@ def makepch(): if not os.path.exists(loc1): rootdir = rootsys if not os.path.exists(loc2): - print "ERROR: cannot find %s file here %s nor here %s" %(allheadersFilename, loc1, loc2) + print("ERROR: cannot find {} file here {} nor here {}".format(allheadersFilename, loc1, loc2)) sys.exit(1) else: rootbuildFlag="-rootbuild" }}} -- Ticket URL: <https://trac.macports.org/ticket/48376#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X