Fix: Make config parser python 3 compatible

This commit is contained in:
Michal Micka 2013-10-03 04:13:00 +02:00 committed by Francisco Blas (klondike) Izquierdo Riera
parent 204544298b
commit 6ad5efea6d

View File

@ -84,7 +84,7 @@ class Option(object):
class SourceGenerator(object): class SourceGenerator(object):
def __init__(self, filename, cppStyle = True): def __init__(self, filename, cppStyle = True):
print "Generating %s..." % filename print ("Generating %s..." % filename)
self.f = open(filename, 'w'); self.f = open(filename, 'w');
def write_header(self, Comment = True): def write_header(self, Comment = True):