Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-09-18 18:44:12 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-09-18 18:44:12 (GMT)
commit9d71795fe1765e8cbae784f909b058922d8e20a8 (patch)
tree461bea4c8e30e40bc4107edab39c2a1e1aaa50e3
parentc69795e199018064822872e3796ea7b68c439a5e (diff)
Fix undefined variable error
-rw-r--r--src/olpc/datastore/backingstore.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/olpc/datastore/backingstore.py b/src/olpc/datastore/backingstore.py
index ffb1911..8310aa7 100644
--- a/src/olpc/datastore/backingstore.py
+++ b/src/olpc/datastore/backingstore.py
@@ -211,6 +211,7 @@ class FileBackingStore(BackingStore):
# a hidden file with a pickled dict will live in the base
# directory for each storage
fn = os.path.join(self.base, self.DESCRIPTOR_NAME)
+ desc = None
if os.path.exists(fn):
try:
fp = open(fn, 'r')