[Python-checkins] python/dist/src/Tools/bgen/bgen scantools.py, 1.42, 1.43
tim_one@users.sourceforge.net
tim_one at users.sourceforge.net
Mon Jul 18 01:16:20 CEST 2005
Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15365/Tools/bgen/bgen
Modified Files:
scantools.py
Log Message:
Whitespace normalization.
Index: scantools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/scantools.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- scantools.py 17 Jul 2005 00:15:46 -0000 1.42
+++ scantools.py 17 Jul 2005 23:16:18 -0000 1.43
@@ -374,7 +374,7 @@
tmp = self.scanmine and self.scanfile
self.scanfile = None
if tmp: tmp.close()
-
+
def closehtml(self):
if self.htmlfile: self.htmlfile.write(ENDHTMLREPORT)
tmp = self.htmlmine and self.htmlfile
@@ -415,7 +415,7 @@
self.htmlfile = file
self.htmlmine = mine
self.htmlfile.write(BEGINHTMLREPORT)
-
+
def openoutput(self, filename):
try:
file = open(filename, 'w')
@@ -728,10 +728,10 @@
classname, listname = self.destination(tp, name, arglist, modifiers)
else:
classname, listname = self.destination(tp, name, arglist)
- if not classname or not listname:
+ if not classname or not listname:
self.htmlreport("*** no output generated: self.destination() returned None", klass="blacklisted")
return
- if not self.specfile:
+ if not self.specfile:
self.htmlreport("*** no output generated: no output file specified", klass="blacklisted")
return
self.specfile.write("f = %s(%s, %r,\n" % (classname, tp, name))
@@ -800,7 +800,7 @@
if not line or line[-1] != '\n':
oline += '\n'
self.htmlfile.write(oline)
-
+
class Scanner_PreUH3(Scanner):
"""Scanner for Universal Headers before release 3"""
def initpatterns(self):
More information about the Python-checkins
mailing list