projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop all the calls to .keys() when iterating on the keys of a dict
[cascardo/ipsilon.git]
/
ipsilon
/
util
/
policy.py
diff --git
a/ipsilon/util/policy.py
b/ipsilon/util/policy.py
index
8f70673
..
f1915cc
100644
(file)
--- a/
ipsilon/util/policy.py
+++ b/
ipsilon/util/policy.py
@@
-77,7
+77,7
@@
class Policy(Log):
# If ignore_case is True,
# then PD translates case insensitively prefixes
PD = dict()
- for k in attributes
.keys()
:
+ for k in attributes:
if ignore_case:
# note duplicates that differ only by case
# will be lost here, beware!