pythonPackages.unittest2: Fix missing argument to substituteInPlace

This commit is contained in:
Tuomas Tynkkynen 2017-07-16 01:06:56 +03:00
parent 7d95391f6a
commit c3d9ec531b

View File

@ -24840,7 +24840,7 @@ in {
postPatch = ''
# argparse is needed for python < 2.7, which we do not support anymore.
substituteInPlace setup.py --replace "argparse"
substituteInPlace setup.py --replace "argparse" ""
# # fixes a transient error when collecting tests, see https://bugs.launchpad.net/python-neutronclient/+bug/1508547
sed -i '510i\ return None, False' unittest2/loader.py