|
|
|
@ -12749,12 +12749,12 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
|
|
|
|
|
statInfo = stInfo[stat.ST_MODE]
|
|
|
|
|
if stat.S_ISREG(statInfo):
|
|
|
|
|
if checkTime:
|
|
|
|
|
curTime = stInfo[stat.ST_CTIME]
|
|
|
|
|
curTime = stInfo[stat.ST_MTIME]
|
|
|
|
|
if curTime>maxTime:
|
|
|
|
|
maxTime = curTime
|
|
|
|
|
elif stat.S_ISDIR(statInfo):
|
|
|
|
|
if checkTime:
|
|
|
|
|
curTime = stInfo[stat.ST_CTIME]
|
|
|
|
|
curTime = stInfo[stat.ST_MTIME]
|
|
|
|
|
if curTime>maxTime:
|
|
|
|
|
maxTime = curTime
|
|
|
|
|
maxTime = self.maxDateAndListInDir(absPath, listFiles,
|
|
|
|
@ -12762,7 +12762,7 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
|
|
|
|
|
prefix, maxTime, True)
|
|
|
|
|
elif stat.S_ISLNK(statInfo):
|
|
|
|
|
if checkTime:
|
|
|
|
|
curTime = stInfo[stat.ST_CTIME]
|
|
|
|
|
curTime = stInfo[stat.ST_MTIME]
|
|
|
|
|
if curTime>maxTime:
|
|
|
|
|
maxTime = curTime
|
|
|
|
|
return maxTime
|
|
|
|
|