From fcd6e4863a96f839931edaf9ed7ecfd5952cc51e Mon Sep 17 00:00:00 2001 From: Graham Eades Date: Mon, 2 Mar 2020 17:42:47 +0000 Subject: [PATCH] Updated print function in file --- scripts/builder/frontendBuilder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/builder/frontendBuilder.py b/scripts/builder/frontendBuilder.py index 148772d..9a44be6 100755 --- a/scripts/builder/frontendBuilder.py +++ b/scripts/builder/frontendBuilder.py @@ -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