Skip to content

Commit

Permalink
Merge pull request #62 from hmaarrfk/no_iteritems
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Jan 23, 2023
2 parents 44d0054 + 7090ec9 commit 792eefd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
import subprocess

import click
from conda_build.conda_interface import iteritems
from conda_build.source import download_to_cache
from conda_build.license_family import guess_license_family
from conda_build.config import Config
Expand Down Expand Up @@ -340,7 +339,7 @@ def find_repo_entry_and_arch(repo_primary, architectures, depend):
found_package_name = dep_name
except Exception:
# Look through the provides of all packages.
for name, package in iteritems(repo_primary):
for name, package in repo_primary.items():
for arch in architectures:
if arch in package:
if "provides" in package[arch]:
Expand Down Expand Up @@ -904,7 +903,7 @@ def write_conda_recipe(
}
)
cdt = dict()
for k, v in iteritems(cdt_info[cdt_name]):
for k, v in cdt_info[cdt_name].items():
if isinstance(v, string_types):
cdt[k] = v.format(**architecture_bits)
else:
Expand Down

0 comments on commit 792eefd

Please sign in to comment.