Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorJeremy Heiner <scalaprotractor@gmail.com>2013-10-12 12:44:33 -0400
committerAllan McRae <allan@archlinux.org>2013-10-14 13:01:15 +1000
commit95b0a868f255f2766ae03733882f30c8c7f3b7ca (patch)
tree49ee07b8cf5778b47a5037415f322aaa78b2f15d /scripts/repo-add.sh.in
parent071ba05534f1e5f3eee3435214caa2642e3e2c23 (diff)
Use dict iteration methods common to both Python 2 and 3.
The .items, .keys, and .values methods in Python 2 make copies, so the test framework uses the .iter* flavors of those methods. But in Python 3 those .iter* (and even the 2.7 .view*) flavors are removed and the original methods return views. Measurements were taken under Python2 to see what impact the copying had, and there was none. Thus it is not worth the effort to avoid. Reported as a compatibility issue by 2to3. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
0 files changed, 0 insertions, 0 deletions