diff options
author | Sascha Silbe <silbe@activitycentral.com> | 2011-03-06 12:06:55 (GMT) |
---|---|---|
committer | Sascha Silbe <silbe@activitycentral.com> | 2011-03-06 12:06:55 (GMT) |
commit | 6e6e47ccdee3812a4193803357922f595dd60770 (patch) | |
tree | 919a5dba4fccd087a8ed997c439c1a61c234fee4 | |
parent | 557642d7ba00bfbea645d584993a45a7fc0bc977 (diff) | |
parent | b8fc0f3a12e9d9724d5699f8192c86dca54aa826 (diff) |
Merge commit 'b8fc0f3a12e9d9724d5699f8192c86dca54aa826' into t/testsuitet/testsuite
* commit 'b8fc0f3a12e9d9724d5699f8192c86dca54aa826':
Release 0.92.0
don't choke if timestamp property is missing
Cleanup AUTHORS file
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/carquinyol/datastore.py | 3 |
3 files changed, 5 insertions, 2 deletions
@@ -21,4 +21,4 @@ Tomeu Vizoso <tomeu@sugarlabs.org> Current maintainers ~~~~~~~~~~~~~~~~~~~ -Aleksey Lim <alsroot@member.fsf.org> +http://wiki.sugarlabs.org/go/Development_Team/Release/Modules#Glucose diff --git a/configure.ac b/configure.ac index cf72e11..10f2487 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([sugar-datastore],[0.90.0],[],[sugar-datastore]) +AC_INIT([sugar-datastore],[0.92.0],[],[sugar-datastore]) AC_PREREQ([2.59]) diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py index 837de35..41ec2c3 100644 --- a/src/carquinyol/datastore.py +++ b/src/carquinyol/datastore.py @@ -140,6 +140,9 @@ class DataStore(dbus.service.Object): if os.path.exists(path): props['filesize'] = os.stat(path).st_size update_metadata = True + if 'timestamp' not in props: + props['timestamp'] = str(int(time.time())) + update_metadata = True if 'creation_time' not in props: if 'ctime' in props: try: |