summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-09-23 15:34:20 -0400
committerWill Woods <wwoods@redhat.com>2009-09-23 15:34:20 -0400
commit53eb515be9aa786341c15d5e76084aac18ddb014 (patch)
tree89d81a6e39ea9bebb19133799d8cd41d72c77967
parent8b8b30c5531830d03c2056d529b79548b7be1f4e (diff)
downloadisrawhidebroken-53eb515be9aa786341c15d5e76084aac18ddb014.tar.gz
israwhidebroken-53eb515be9aa786341c15d5e76084aac18ddb014.tar.xz
israwhidebroken-53eb515be9aa786341c15d5e76084aac18ddb014.zip
Fix use of undefined var in update_tree()
-rw-r--r--israwhidebroken/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/israwhidebroken/client.py b/israwhidebroken/client.py
index 474d438..3c4c6af 100644
--- a/israwhidebroken/client.py
+++ b/israwhidebroken/client.py
@@ -86,7 +86,7 @@ class IRBClient(BaseClient):
Optional: tree_time, repodata_time
Returns the tree data.'''
if 'id' in kw:
- treelist = self.get_trees(id=id)
+ treelist = self.get_trees(id=kw['id'])
else:
treelist = self.get_trees(arch=kw['arch'],
compose_id=kw['compose_id'])