python-telegram-bot: fix vendored urllib patches
This commit is contained in:
parent
4acf0beba1
commit
7680df12c5
@ -23,7 +23,8 @@ buildPythonPackage rec {
|
||||
--replace "import telegram.vendor.ptb_urllib3.urllib3 as urllib3" "import urllib3 as urllib3" \
|
||||
--replace "import telegram.vendor.ptb_urllib3.urllib3.contrib.appengine as appengine" "import urllib3.contrib.appengine as appengine" \
|
||||
--replace "from telegram.vendor.ptb_urllib3.urllib3.connection import HTTPConnection" "from urllib3.connection import HTTPConnection" \
|
||||
--replace "from telegram.vendor.ptb_urllib3.urllib3.util.timeout import Timeout" "from urllib3.util.timeout import Timeout"
|
||||
--replace "from telegram.vendor.ptb_urllib3.urllib3.util.timeout import Timeout" "from urllib3.util.timeout import Timeout" \
|
||||
--replace "from telegram.vendor.ptb_urllib3.urllib3.fields import RequestField" "from urllib3.fields import RequestField"
|
||||
|
||||
touch LICENSE.dual
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user