1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 18:09:03 +01:00

Updated print function in file

This commit is contained in:
Graham Eades 2020-03-02 17:42:47 +00:00
parent 81a8565710
commit fcd6e4863a

View File

@ -53,7 +53,7 @@ class FrontendBuilder(object):
module = self.module
if (self.module != self.submodule):
module = module + "." + self.submodule
print "frontend [" + module + "]: " + message
print ( "frontend [" + module + "]: " + message )
def absolutePathForSources (self):
@ -117,7 +117,7 @@ class FrontendBuilder(object):
try:
fileHandler = codecs.open(self.absolutePathForSourceFile(basePath, file), 'r', 'utf-8')
except:
print "FILE: " + file
print ( "FILE: " + file )
result[file] = fileHandler.read()
fileHandler.close()
@ -197,7 +197,7 @@ class FrontendBuilder(object):
# output rule if it contains any declarations
if properties:
print "%s{%s}" % ( ','.join( selectors ), ''.join(['%s:%s;' % (key, properties[key]) for key in porder])[:-1] )
print ( "%s{%s}" % ( ','.join( selectors ), ''.join(['%s:%s;' % (key, properties[key]) for key in porder])[:-1] ) )
return css