From c2a2653a892b71ecef204eaf1ba7c44fe0fb9c53 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sun, 06 Mar 2011 12:06:58 +0000 Subject: Merge commit 'c8be67a348bb399af666f29a798deba2b84a0016' into t/rainbow-0.8 * commit 'c8be67a348bb399af666f29a798deba2b84a0016': Release 0.92.0 don't choke if timestamp property is missing Cleanup AUTHORS file --- diff --git a/AUTHORS b/AUTHORS index 815ace9..9928b94 100644 --- a/AUTHORS +++ b/AUTHORS @@ -21,4 +21,4 @@ Tomeu Vizoso Current maintainers ~~~~~~~~~~~~~~~~~~~ -Aleksey Lim +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: -- cgit v0.9.1