witten
/
luminotes
Archived
1
0
Fork 0

Making float into int to stifle deprecation warning.

This commit is contained in:
Dan Helfman 2008-08-21 00:35:05 -07:00
parent 3fa1e8f8e6
commit 0e2e665cca
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Persistent( object ):
# Windows. so, replace the microseconds with a value from a higher-precision timer
if revision == self.__revision:
MICROSECONDS = 1000000
revision = revision.replace( microsecond = time.clock() * MICROSECONDS % MICROSECONDS )
revision = revision.replace( microsecond = int( time.clock() * MICROSECONDS ) % MICROSECONDS )
self.__revision = revision