Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/model.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-01-07 11:55:07 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-01-07 11:55:07 (GMT)
commitd74afc73928d33200c917f74efc7775a2df63a87 (patch)
tree8e5a96fe0ada5ff30da013814dd53371adeeb3d8 /src/jarabe/journal/model.py
parentf3506bddbf061f008555b6e1d60989b87426b5ff (diff)
fix typo
Diffstat (limited to 'src/jarabe/journal/model.py')
-rw-r--r--src/jarabe/journal/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
index 29976a3..fc890e1 100644
--- a/src/jarabe/journal/model.py
+++ b/src/jarabe/journal/model.py
@@ -292,7 +292,7 @@ def get(object_id):
"""Returns the metadata for an object
"""
if os.path.exists(object_id):
- stat = os.stat(path)
+ stat = os.stat(object_id)
metadata = _get_file_metadata(object_id, stat)
metadata['mountpoint'] = _get_mount_point(object_id)
else: