Changeset 257
- Timestamp:
- 2003-06-09 18:00:13 (6 years ago)
- Files:
-
- trunk/ftp_stat.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ftp_stat.py
r254 r257 34 34 """ 35 35 36 # $Id: ftp_stat.py,v 1. 8 2003/06/09 17:22:57schwa Exp $36 # $Id: ftp_stat.py,v 1.9 2003/06/09 18:00:13 schwa Exp $ 37 37 38 38 import stat … … 44 44 45 45 if sys.version_info[:2] >= (2, 2): 46 _Stat Base = tuple46 _StatResultBase = tuple 47 47 else: 48 48 import UserTuple 49 _Stat Base = UserTuple.UserTuple50 51 52 class _Stat (_StatBase):49 _StatResultBase = UserTuple.UserTuple 50 51 52 class _StatResult(_StatResultBase): 53 53 """ 54 54 Support class resembling a tuple like that returned from … … 165 165 else: 166 166 st_name, st_target = name, None 167 stat_result = _Stat( (st_mode, st_ino, st_dev, st_nlink, st_uid, 168 st_gid, st_size, st_atime, st_mtime, st_ctime) ) 167 stat_result = _StatResult( 168 (st_mode, st_ino, st_dev, st_nlink, st_uid, 169 st_gid, st_size, st_atime, st_mtime, st_ctime) ) 169 170 stat_result._st_name = st_name 170 171 stat_result._st_target = st_target … … 224 225 # st_ctime 225 226 st_ctime = None 226 stat_result = _Stat( (st_mode, st_ino, st_dev, st_nlink, st_uid, 227 st_gid, st_size, st_atime, st_mtime, st_ctime) ) 227 stat_result = _StatResult( 228 (st_mode, st_ino, st_dev, st_nlink, st_uid, 229 st_gid, st_size, st_atime, st_mtime, st_ctime) ) 228 230 # _st_name and _st_target 229 231 stat_result._st_name = name
