summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/src
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-20 17:36:36 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-20 17:38:08 +0100
commit0d6535242db07968206b3af15046f62a30748449 (patch)
treea5113c1cb59ee2eab3eabde01aed46501a7f34b3 /roles/lib_utils/src
parent9492616511632c26bf42f786c6fba5f40f15d4d9 (diff)
downloadopenshift-0d6535242db07968206b3af15046f62a30748449.tar.gz
openshift-0d6535242db07968206b3af15046f62a30748449.tar.bz2
openshift-0d6535242db07968206b3af15046f62a30748449.tar.xz
openshift-0d6535242db07968206b3af15046f62a30748449.zip
Fix validation of generated code
Importing modules with the same name will not reload an already imported module. Explicitly reloading the module is the quickest fix.
Diffstat (limited to 'roles/lib_utils/src')
-rw-r--r--roles/lib_utils/src/class/repoquery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_utils/src/class/repoquery.py b/roles/lib_utils/src/class/repoquery.py
index 2447719e2..82adcada5 100644
--- a/roles/lib_utils/src/class/repoquery.py
+++ b/roles/lib_utils/src/class/repoquery.py
@@ -60,7 +60,7 @@ class Repoquery(RepoqueryCLI):
''' Gather and present the versions of each package '''
versions_dict = {}
- versions_dict['available_versions_full'] = formatted_versions.keys()
+ versions_dict['available_versions_full'] = list(formatted_versions.keys())
# set the match version, if called
if self.match_version: