Skip to content
Snippets Groups Projects
Commit ace8de92 authored by Edward Moyse's avatar Edward Moyse
Browse files

Minor python3 fixes for MuonGMJobProperties.py

parent 47ecfc89
No related branches found
No related tags found
No related merge requests found
...@@ -33,11 +33,11 @@ class MuonGMFlags(CommonGMFlags, object): ...@@ -33,11 +33,11 @@ class MuonGMFlags(CommonGMFlags, object):
else: self.__dict__["HasMM"] = True else: self.__dict__["HasMM"] = True
def dump(self): def dump(self):
print "MuonGMFlags:" print ("MuonGMFlags:")
print "Layout = ",self.__dict__["Layout"] print ("Layout = ",self.__dict__["Layout"])
print "HasCSC = ",self.__dict__["HasCSC"] print ("HasCSC = ",self.__dict__["HasCSC"])
print "HasSTGC = ",self.__dict__["HasSTGC"] print ("HasSTGC = ",self.__dict__["HasSTGC"])
print "HasMM = ",self.__dict__["HasMM"] print ("HasMM = ",self.__dict__["HasMM"])
class GeoLayout(JobProperty): class GeoLayout(JobProperty):
...@@ -84,10 +84,10 @@ class MuonGeometryFlags_JobProperties(JobPropertyContainer): ...@@ -84,10 +84,10 @@ class MuonGeometryFlags_JobProperties(JobPropertyContainer):
self.hasMM.unlock() self.hasMM.unlock()
def dump(self): def dump(self):
print "Layout = ", self.GeoLayout() print ("Layout = ", self.GeoLayout())
print "HasCSC = ", self.hasCSC() print ("HasCSC = ", self.hasCSC())
print "HasSTGC = ", self.hasSTGC() print ("HasSTGC = ", self.hasSTGC())
print "HasMM = ", self.hasMM() print ("HasMM = ", self.hasMM())
jobproperties.add_Container(MuonGeometryFlags_JobProperties) jobproperties.add_Container(MuonGeometryFlags_JobProperties)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment