diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
commit | e7bf59f500481715e76ff646f6728e28361faff2 (patch) | |
tree | 3f3dcd530272bb5be36089c3f2f3345ee373012f /Mac/Tools/Doc | |
parent | 716c3ac40cae880193dfdbda39a0ca7ed7cd2854 (diff) | |
download | cpython-e7bf59f500481715e76ff646f6728e28361faff2.zip cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.gz cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.bz2 |
Run 2to3's print fixer over some places that had been missed.
Diffstat (limited to 'Mac/Tools/Doc')
-rw-r--r-- | Mac/Tools/Doc/setup.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Tools/Doc/setup.py b/Mac/Tools/Doc/setup.py index bd86a20..5f60c51 100644 --- a/Mac/Tools/Doc/setup.py +++ b/Mac/Tools/Doc/setup.py @@ -100,7 +100,7 @@ class DocBuild(build): if os.path.isdir(origPath): self.mkpath(outPath) elif ext == '.html': - if self.verbose: print 'hacking %s to %s' % (origPath,outPath) + if self.verbose: print('hacking %s to %s' % (origPath,outPath)) hackedFile = file(outPath, 'w') origFile = file(origPath,'r') hackedFile.write(self.r.sub('<dl><dt><dd>', origFile.read())) @@ -118,7 +118,7 @@ class DocBuild(build): def makeHelpIndex(self): app = '/Developer/Applications/Apple Help Indexing Tool.app' self.spawn('open', '-a', app , self.build_dest) - print "Please wait until Apple Help Indexing Tool finishes before installing" + print("Please wait until Apple Help Indexing Tool finishes before installing") def makeHelpIndex(self): app = HelpIndexingTool.HelpIndexingTool(start=1) @@ -180,18 +180,18 @@ class AHVDocInstall(Command): self.build_dest = build_cmd.build_dest if self.install_doc == None: self.install_doc = os.path.join(self.prefix, DESTDIR) - print 'INSTALL', self.build_dest, '->', self.install_doc + print('INSTALL', self.build_dest, '->', self.install_doc) def run(self): self.finalize_options() self.ensure_finalized() - print "Running Installer" + print("Running Installer") instloc = self.install_doc if self.root: instloc = change_root(self.root, instloc) self.mkpath(instloc) copy_tree(self.build_dest, instloc) - print "Installation complete" + print("Installation complete") def mungeVersion(infile, outfile): i = file(infile,'r') |