projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8da236
)
Allow Job.__str__() to work when .id == None.
author
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 07:57:15 +0000
(
03:57
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 07:57:15 +0000
(
03:57
-0400)
pysawsim/manager/__init__.py
patch
|
blob
|
history
diff --git
a/pysawsim/manager/__init__.py
b/pysawsim/manager/__init__.py
index 8e3eb65d919cc8630d8da5d73e06485e486eff61..c18cc24a106aef380a059902f2a5abfbdad26578 100644
(file)
--- a/
pysawsim/manager/__init__.py
+++ b/
pysawsim/manager/__init__.py
@@
-101,7
+101,7
@@
class Job (object):
self.data = None
def __str__(self):
- return '<%s %
d
>' % (self.__class__.__name__, self.id)
+ return '<%s %
s
>' % (self.__class__.__name__, self.id)
def __repr__(self):
return self.__str__()