Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-03-14 14:29:21 (GMT)
committer Jonas Smedegaard <dr@jones.dk>2008-03-14 14:29:21 (GMT)
commit95dcdf4a6ccabc647b6e31ebb0a96cfa98fc0436 (patch)
treef6e758d623954c1d8bd9692231ff5ae9f3345588
parent35a7fc3d5760264901ba3311eab3fe8e0e1ea05f (diff)
Fix quilt-separating patches.
-rw-r--r--src/olpc/datastore/datastore.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/olpc/datastore/datastore.py b/src/olpc/datastore/datastore.py
index 736c1b9..67ddca9 100644
--- a/src/olpc/datastore/datastore.py
+++ b/src/olpc/datastore/datastore.py
@@ -412,12 +412,11 @@ class DataStore(dbus.service.Object):
backingstore = content.backingstore
backingstore.current_user_id = dbus.Bus().get_unix_user(sender)
try:
- try:
- # Retrieving the file path for the file will cause the file to be
- # copied or linked to a directory accessible by the caller.
- file_path = content.filename
- except AttributeError:
- file_path = ''
+ # Retrieving the file path for the file will cause the file to be
+ # copied or linked to a directory accessible by the caller.
+ file_path = content.filename
+ except AttributeError:
+ file_path = ''
finally:
backingstore.current_user_id = None
return file_path