summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Packages/Yum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
index 1aa0128c4..474bddc49 100644
--- a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
+++ b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
@@ -543,8 +543,8 @@ class YumCollection(Collection):
name = entry.get("name")
def _tag_to_pkg(tag):
- rv = [name, tag.get("arch"), tag.get("epoch"),
- tag.get("version"), tag.get("release")]
+ rv = (name, tag.get("arch"), tag.get("epoch"),
+ tag.get("version"), tag.get("release"))
if rv[3] in ['any', 'auto']:
rv = (rv[0], rv[1], rv[2], None, None)
# if a package requires no specific version, we just use