Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed May 26, 2015
1 parent a5ffb2d commit 9a781bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pypicloud/cache/dynamo.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def clear(self, package):
summary.last_modified == package.last_modified):
summary.stable = None
summary.unstable = '0'
summary.last_modified = datetime.fromtimestamp(0)
summary.last_modified = datetime.fromtimestamp(0) \
.replace(tzinfo=UTC)
all_packages = self.engine.scan(DynamoPackage)\
.filter(DynamoPackage.filename != package.filename,
name=package.name)
Expand Down

0 comments on commit 9a781bf

Please sign in to comment.