~vcs-imports/ipfire/ipfire-2.x

« back to all changes in this revision

Viewing changes to src/patches/iotop-0.6-replace-itervalues-with-values-in-setup.py.patch

  • Committer: Daniel Glanzmann
  • Date: 2008-09-26 17:05:28 UTC
  • mto: (1394.1.12)
  • mto: This revision was merged to the branch mainline in revision 1401.
  • Revision ID: git-v1:19ac4d1b6e234e1391b3d406381e3b74e92c40dd
added new useragent thunderbird

Show diffs side-by-side

added added

removed removed

Lines of Context:
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