Changeset 12754
- Timestamp:
- 07/26/12 11:23:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/generic.py
r12753 r12754 43 43 44 44 #OK get other fields 45 cluster=options.AssignObjectFields(cluster)45 self=options.AssignObjectFields(self) 46 46 # }}} 47 47 48 48 def __repr__(self): # {{{ 49 49 # display the object 50 print "class '%s' object '%s' = " % (type(self),'self') 51 print " name: %s" % self.name 52 print " login: %s" % self.login 53 print " np: %i" % self.np 54 print " port: %i" % self.port 55 print " codepath: %s" % self.codepath 56 print " executionpath: %s" % self.executionpath 57 print " valgrind: %s" % self.valgrind 58 print " valgrindlib: %s" % self.valgrindlib 59 print " valgrindsup: %s" % self.valgrindsup 50 s ="class '%s' object '%s' = \n" % (type(self),'self') 51 s+=" name: %s\n" % self.name 52 s+=" login: %s\n" % self.login 53 s+=" np: %i\n" % self.np 54 s+=" port: %i\n" % self.port 55 s+=" codepath: %s\n" % self.codepath 56 s+=" executionpath: %s\n" % self.executionpath 57 s+=" valgrind: %s\n" % self.valgrind 58 s+=" valgrindlib: %s\n" % self.valgrindlib 59 s+=" valgrindsup: %s\n" % self.valgrindsup 60 return s 60 61 # }}} 61 62
Note:
See TracChangeset
for help on using the changeset viewer.