From 8d00ad2ecd5eeb7ea9e486f76828d237f82234b0 Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Fri, 15 Nov 2019 14:04:25 +0100 Subject: [PATCH] Apply 2to3 to file not ending with .py Executed command: 2to3-2.7 -n -w actions/ost-compare-structures --- actions/ost-compare-structures | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures index 8ae9ff19e..41f1080ce 100644 --- a/actions/ost-compare-structures +++ b/actions/ost-compare-structures @@ -513,7 +513,7 @@ def _RevertChainNames(ent): used_names[original_name] += 1 for chain in ent.chains: editor.RenameChain(chain, reverted_chains[chain.name[:-len(suffix)]]) - rev_out = ["%s -> %s" % (on, nn) for on, nn in reverted_chains.iteritems()] + rev_out = ["%s -> %s" % (on, nn) for on, nn in reverted_chains.items()] ost.LogInfo("Reverted chains: %s" % ", ".join(rev_out)) -- GitLab