diff options
author | Juan Gómez Luna <el1goluj@gmail.com> | 2021-10-18 10:17:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 10:17:37 +0200 |
commit | dab3c06ecdcb5b640ecb042e87e8f43f68bf9802 (patch) | |
tree | f4d4f7fd6b686ee5bdbe67b56e3f088553f43de2 | |
parent | 3de4b495fb176eba9a0eb517a4ce05903cb67acb (diff) | |
parent | 4966312dc9fecc145e6cb2e1e0b8fa4932c0e4ad (diff) |
Merge pull request #2 from joaodinissf/main
Replace the deprecated .iteritems() with .items()
-rw-r--r-- | run_strong_full.py | 4 | ||||
-rw-r--r-- | run_strong_rank.py | 4 | ||||
-rw-r--r-- | run_weak.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/run_strong_full.py b/run_strong_full.py index 5f60698..c65fecd 100644 --- a/run_strong_full.py +++ b/run_strong_full.py @@ -104,7 +104,7 @@ def main(): if(len(sys.argv) < 2): print ("Usage: python run.py application") print ("Applications available: ") - for key, value in applications.iteritems(): + for key, value in applications.items(): print (key ) print ("All") @@ -112,7 +112,7 @@ def main(): cmd = sys.argv[1] print ("Application to run is: " + cmd ) if cmd == "All": - for key, value in applications.iteritems(): + for key, value in applications.items(): run(key) os.chdir(rootdir) else: diff --git a/run_strong_rank.py b/run_strong_rank.py index 6763bc7..68f401e 100644 --- a/run_strong_rank.py +++ b/run_strong_rank.py @@ -115,7 +115,7 @@ def main(): if(len(sys.argv) < 2): print ("Usage: python run.py application") print ("Applications available: ") - for key, value in applications.iteritems(): + for key, value in applications.items(): print (key ) print ("All") @@ -123,7 +123,7 @@ def main(): cmd = sys.argv[1] print ("Application to run is: " + cmd ) if cmd == "All": - for key, value in applications.iteritems(): + for key, value in applications.items(): run(key) os.chdir(rootdir) else: diff --git a/run_weak.py b/run_weak.py index 919e9d8..a613675 100644 --- a/run_weak.py +++ b/run_weak.py @@ -155,7 +155,7 @@ def main(): if(len(sys.argv) < 2): print ("Usage: python run.py application") print ("Applications available: ") - for key, value in applications.iteritems(): + for key, value in applications.items(): print (key ) print ("All") @@ -163,7 +163,7 @@ def main(): cmd = sys.argv[1] print ("Application to run is: " + cmd ) if cmd == "All": - for key, value in applications.iteritems(): + for key, value in applications.items(): run(key) os.chdir(rootdir) else: |