]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/iotop-0.6-replace-itervalues-with-values-in-setup.py.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / src / patches / iotop-0.6-replace-itervalues-with-values-in-setup.py.patch
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