File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- #!/bin/env python
1+ #!/bin/env python3
22
33"""
44MUST BE RUN AS ROOT FROM WITHIN A MINIMAL CENTOS CONTAINER
1515Those are common concepts in the RPM world.
1616"""
1717
18- from __future__ import print_function
1918import argparse
2019import subprocess
2120import os
@@ -182,7 +181,7 @@ def main():
182181 # For every SRPM built by ourselves, get its build dependencies
183182 # We use our local RPMs directory as target directory to avoid downloads
184183 print ("\n *** Get build deps for every SRPM built by XCP-ng ***" )
185- for srpm_nvr , build_info in xcp_builds .iteritems ():
184+ for srpm_nvr , build_info in xcp_builds .items ():
186185 if build_info ['built-by' ] == 'xcp-ng' :
187186 build_info ['build-deps' ] = get_build_deps (os .path .join (xcp_srpm_repo , srpm_nvr + ".src.rpm" ),
188187 install_root ,
@@ -194,7 +193,7 @@ def main():
194193
195194 # For each RPM from our repos, get its runtime dependencies, and add info from xcp_ng_rpms_srpms
196195 print ("\n *** Get runtime deps for all RPMs ***" )
197- for srpm_nvr , build_info in xcp_builds .iteritems ():
196+ for srpm_nvr , build_info in xcp_builds .items ():
198197 for rpm_nvra in build_info ['rpms' ]:
199198 installable , deps = get_all_runtime_deps (rpm_nvra , install_root )
200199 xcp_rpms [rpm_nvra ] = {
You can’t perform that action at this time.
0 commit comments