From 6369bb02868d7af0fe5215f4a144b46be971ddf5 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Thu, 20 May 2010 18:32:36 +0000 Subject: [PATCH] Minor edit svn: r15428 --- src/gen/db/write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/db/write.py b/src/gen/db/write.py index d51d8e0fc..71ff4fc3c 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -1332,7 +1332,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): if self.readonly or not obj or not obj.handle: return - obj.change = int(change_time if change_time else time.time()) + obj.change = int(change_time or time.time()) handle = str(obj.handle) self.update_reference_map(obj, transaction)