Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2011-03-06 12:06:57 (GMT)
committer Sascha Silbe <silbe@activitycentral.com>2011-03-06 12:06:57 (GMT)
commit2a9a3bf316a0e655ca448669138e7f2bfc6ada47 (patch)
treebd5b8ab2858643f26270addb2cddf74c1ae2f2a1
parentc18b3ccc0e1c329f766bb77e1eff272c249c98c3 (diff)
parentdda8d026b05aff03de45498cb72ec29a8f957d81 (diff)
Merge remote branch 'refs/remotes/origin/top-bases/t/bug-1550-mkstemp-only' into refs/top-bases/t/bug-1550-mkstemp-only
* refs/remotes/origin/top-bases/t/bug-1550-mkstemp-only: Release 0.92.0 don't choke if timestamp property is missing Cleanup AUTHORS file
-rw-r--r--AUTHORS2
-rw-r--r--configure.ac2
-rw-r--r--src/carquinyol/datastore.py3
3 files changed, 5 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index 815ace9..9928b94 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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: