summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/component/rpm/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/component/rpm/__init__.py b/tests/component/rpm/__init__.py
index 831de81d..913ceeec 100644
--- a/tests/component/rpm/__init__.py
+++ b/tests/component/rpm/__init__.py
@@ -51,7 +51,8 @@ class RepoManifest(object):
for prj_e in self._doc.getElementsByTagName('project'):
branches = {}
for br_e in prj_e.getElementsByTagName('branch'):
- branches[br_e.getAttribute('name')] = br_e.getAttribute('revision')
+ rev = br_e.getAttribute('revision')
+ branches[br_e.getAttribute('name')] = rev
yield prj_e.getAttribute('name'), branches