version 1.54, 2005/11/28 12:31:28
|
version 1.55, 2005/12/08 17:12:21
|
Line 633 class versionedFileObject(File):
|
Line 633 class versionedFileObject(File):
|
def lastEditor(self): |
def lastEditor(self): |
"""last Editor""" |
"""last Editor""" |
if hasattr(self,'author'): |
if hasattr(self,'author'): |
|
try: |
ret=self.author.replace("-","\n") |
ret=self.author.replace("-","\n") |
|
except:#old version of versionded file sometimes stored the user object and not only the name the following corrects this |
|
ret=str(self.author).replace("-","\n") |
ret=ret.replace("\r","\n") |
ret=ret.replace("\r","\n") |
return ret |
return ret |
|
|