summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-06-17 12:03:09 +0100
committerLars Wirzenius <liw@liw.fi>2012-06-17 12:03:09 +0100
commitff0b991bb167e9b90624373616b08cef18e385ca (patch)
tree72aaf985b024c84e07ac3897c7d8340262ad5f4c
parent9b8cca6e46687ba19b7b48200fe9ecd056020a6e (diff)
downloadlarch-ff0b991bb167e9b90624373616b08cef18e385ca.tar.gz
Fix indentation problem
Thanks, Damien Couroussé, for reporting the bug via Debian.
-rw-r--r--debian/changelog8
-rwxr-xr-xlarch/fsck.py2
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6185d47..d6bf44f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-larch (UNRELEASED) UNRELEASED; urgency=low
+
+ * New upstream release.
+ - Fix "UnboundLocalError: local variable 'new_node' referenced before
+ assignment" (Closes: #675818)
+
+ -- Lars Wirzenius <liw@liw.fi> Sun, 17 Jun 2012 12:02:47 +0100
+
python-larch (1.20120527-1) unstable; urgency=low
* New upstream release.
diff --git a/larch/fsck.py b/larch/fsck.py
index 88243fa..3a633fb 100755
--- a/larch/fsck.py
+++ b/larch/fsck.py
@@ -104,7 +104,7 @@ class CheckNode(WorkItem):
new_node = larch.IndexNode(node.id, keys,
[node[k] for k in keys])
self.fsck.forest.node_store.put_node(new_node)
- tracing.trace('fixed it: %s' % new_node.keys())
+ tracing.trace('fixed it: %s' % new_node.keys())
class CheckRoot(WorkItem):