summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-02-25 12:10:55 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-02-25 13:23:12 +0200
commita97ef1445a155d34bbeb84a3be74129515af2264 (patch)
tree9736848f823d103cf1d0153c69117a1a5196f560
parent58133f385b597260be5d1eec45517068bf5e2579 (diff)
downloadgit-buildpackage-a97ef1445a155d34bbeb84a3be74129515af2264.tar.gz
git-buildpackage-a97ef1445a155d34bbeb84a3be74129515af2264.tar.bz2
git-buildpackage-a97ef1445a155d34bbeb84a3be74129515af2264.zip
rpm tests: trivial pylint fix (wrap line)
Change-Id: I08dd576f6f4924e70682810b6a0886b8b368e1fc Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-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