Skip to content

Commit

Permalink
Use dict.items() for Python 3 compatibility
Browse files Browse the repository at this point in the history
dict.iteritems() is no longer supported in Python 3.

Fixes mhelwig#7
  • Loading branch information
juergenhoetzel committed Apr 9, 2020
1 parent 5d7fdab commit e0461f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apk-anal.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def print_with_xrefs(r2_results,result_type,r2p):

# Output analysis results
def print_results(analysis_results,messages,r2p):
for key,result in analysis_results.iteritems():
for key,result in analysis_results.items():
if len(result) > 0:
print(messages["found"] % key)
if key in ["strings","symbols","methods"]:
Expand Down

0 comments on commit e0461f6

Please sign in to comment.