2to3: port some missing print statements
This commit is contained in:
@@ -124,7 +124,7 @@ class Part21Parser:
|
||||
|
||||
def parse_file(self):
|
||||
init_time = time.time()
|
||||
print("Parsing file %s..."%self._filename, end=' ')
|
||||
print("Parsing file %s..."%self._filename)
|
||||
fp = open(self._filename)
|
||||
while True:
|
||||
line = fp.readline()
|
||||
|
||||
@@ -77,7 +77,7 @@ class SimpleParser:
|
||||
|
||||
|
||||
def writeGraphViz(self,fileName):
|
||||
print("Writing GraphViz file %s..."%fileName, end=' ')
|
||||
print("Writing GraphViz file %s..."%fileName)
|
||||
gvFile = open(fileName,'w')
|
||||
|
||||
gvFile.write('digraph G {\n node [fontname=Verdana,fontsize=12]\n node [style=filled]\n node [fillcolor="#EEEEEE"]\n node [color="#EEEEEE"]\n edge [color="#31CEF0"]\n')
|
||||
|
||||
Reference in New Issue
Block a user