Commit d93f22ad by Timothée Peignier

storage are a big black box

parent 089545ee
......@@ -15,6 +15,6 @@ class MTimeVersioning(VersioningBase):
output_filename = self.output_filename(output_file, version)
try:
modified_time = storage.modified_time(output_filename)
except EnvironmentError:
except Exception:
return True, version
return (int(time.mktime(modified_time.timetuple())) < int(version)), version
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment