File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616"""
1717
1818from __future__ import print_function
19+
1920import argparse
2021import subprocess
2122import os
@@ -182,7 +183,7 @@ def main():
182183 # For every SRPM built by ourselves, get its build dependencies
183184 # We use our local RPMs directory as target directory to avoid downloads
184185 print ("\n *** Get build deps for every SRPM built by XCP-ng ***" )
185- for srpm_nvr , build_info in xcp_builds .iteritems ():
186+ for srpm_nvr , build_info in xcp_builds .items ():
186187 if build_info ['built-by' ] == 'xcp-ng' :
187188 build_info ['build-deps' ] = get_build_deps (os .path .join (xcp_srpm_repo , srpm_nvr + ".src.rpm" ),
188189 install_root ,
@@ -194,7 +195,7 @@ def main():
194195
195196 # For each RPM from our repos, get its runtime dependencies, and add info from xcp_ng_rpms_srpms
196197 print ("\n *** Get runtime deps for all RPMs ***" )
197- for srpm_nvr , build_info in xcp_builds .iteritems ():
198+ for srpm_nvr , build_info in xcp_builds .items ():
198199 for rpm_nvra in build_info ['rpms' ]:
199200 installable , deps = get_all_runtime_deps (rpm_nvra , install_root )
200201 xcp_rpms [rpm_nvra ] = {
You can’t perform that action at this time.
0 commit comments