Changeset 263
- Timestamp:
- 2003-06-09 19:06:01 (6 years ago)
- Files:
-
- trunk/ftp_stat.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ftp_stat.py
r260 r263 31 31 32 32 """ 33 ftp_stat.py - stat result class and parsersfor `ftputil`33 ftp_stat.py - stat result, parsers, and FTP stat'ing for `ftputil` 34 34 """ 35 35 36 # $Id: ftp_stat.py,v 1.1 1 2003/06/09 18:29:32schwa Exp $36 # $Id: ftp_stat.py,v 1.12 2003/06/09 19:06:01 schwa Exp $ 37 37 38 38 import stat … … 185 185 186 186 class _UnixStat(_Stat): 187 """`_Stat` class for Unix-specific directory format.""" 187 188 # map month abbreviations to month numbers 188 189 _month_numbers = { … … 245 246 year, hour, minute = None, int(hour), int(minute) 246 247 # try the current year 248 #FIXME that doesn't work for some timezone combinations 249 # of client and server 247 250 year = time.localtime()[0] 248 251 st_mtime = time.mktime( (year, month, day, hour, … … 268 271 269 272 class _MSStat(_Stat): 273 """`_Stat` class for MS-specific directory format.""" 270 274 def parse_line(self, line): 271 275 """
