Show More
@@ -176,11 +176,6 b' except AttributeError:' | |||||
176 |
|
176 | |||
177 | _notset = object() |
|
177 | _notset = object() | |
178 |
|
178 | |||
179 | # disable Python's problematic floating point timestamps (issue4836) |
|
|||
180 | # (Python hypocritically says you shouldn't change this behavior in |
|
|||
181 | # libraries, and sure enough Mercurial is not a library.) |
|
|||
182 | os.stat_float_times(False) |
|
|||
183 |
|
||||
184 | def safehasattr(thing, attr): |
|
179 | def safehasattr(thing, attr): | |
185 | return getattr(thing, attr, _notset) is not _notset |
|
180 | return getattr(thing, attr, _notset) is not _notset | |
186 |
|
181 |
General Comments 0
You need to be logged in to leave comments.
Login now