python2/00121-revert-r79310.patch
David Malcolm 42d74be742 2.7.3-17: remove "_default_patch_fuzz" directive
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-17
- remove "_default_patch_fuzz" directive to avoid patches being silently
misapplied (refresh patch 1, patch 101, patch 102, patch 111, patch 121,
patch 158; rename patch 1, patch 101, patch 121; apply patch 54 before the
lib64 patches to avoid fuzz problems caused by the conditional application
of the lib64 patches)
2013-02-19 15:20:28 -05:00

14 lines
571 B
Diff

diff -up Python-2.7.3/Lib/site.py.00121 Python-2.7.3/Lib/site.py
--- Python-2.7.3/Lib/site.py.00121 2013-02-19 14:07:19.156978291 -0500
+++ Python-2.7.3/Lib/site.py 2013-02-19 14:07:19.233978288 -0500
@@ -123,7 +123,7 @@ def addbuilddir():
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
if hasattr(sys, 'gettotalrefcount'):
s += '-pydebug'
- s = os.path.join(os.path.dirname(sys.path.pop()), s)
+ s = os.path.join(os.path.dirname(sys.path[-1]), s)
sys.path.append(s)
diff -up Python-2.7.3/Misc/NEWS.00121 Python-2.7.3/Misc/NEWS