Show More
@@ -963,7 +963,7 b' def statmtimesec(st):' | |||||
963 | """ |
|
963 | """ | |
964 | try: |
|
964 | try: | |
965 | return st[stat.ST_MTIME] |
|
965 | return st[stat.ST_MTIME] | |
966 | except TypeError: |
|
966 | except (TypeError, IndexError): | |
967 | # osutil.stat doesn't allow index access and its st_mtime is int |
|
967 | # osutil.stat doesn't allow index access and its st_mtime is int | |
968 | return st.st_mtime |
|
968 | return st.st_mtime | |
969 |
|
969 |
General Comments 0
You need to be logged in to leave comments.
Login now