]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/iotop-0.6-replace-itervalues-with-values-in-setup.py.patch
Merge branch 'next'
[ipfire-2.x.git] / src / patches / iotop-0.6-replace-itervalues-with-values-in-setup.py.patch
CommitLineData
aef8d2a7
AB
1--- iotop-0.6/setup.py.orig 2013-05-27 00:44:18.000000000 +0200
2+++ iotop-0.6/setup.py 2021-05-08 23:20:44.340837716 +0200
3@@ -7,7 +7,7 @@
4 # Dirty hack to make setup.py install the iotop script to sbin/ instead of bin/
5 # while still honoring the choice of installing into local/ or not.
6 if hasattr(distutils_install, 'INSTALL_SCHEMES'):
7- for d in distutils_install.INSTALL_SCHEMES.itervalues():
8+ for d in distutils_install.INSTALL_SCHEMES.values():
9 if d.get('scripts', '').endswith('/bin'):
10 d['scripts'] = d['scripts'][:-len('/bin')] + '/sbin'
11