apparently some sftp servers may return an mtime of 0xffffffff -- just in case, ignore that value
This commit is contained in:
Robey Pointer 2006-07-10 00:00:03 -07:00
parent ab7c0fe9e8
commit ec6e76abc6
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class SFTPAttributes (object):
else: else:
ks = '?---------' ks = '?---------'
# compute display date # compute display date
if self.st_mtime is None: if (self.st_mtime is None) or (self.st_mtime == 0xffffffff):
# shouldn't really happen # shouldn't really happen
datestr = '(unknown date)' datestr = '(unknown date)'
else: else: