From 563e14e562c5d27b22e5009c8c5b36bcb4573a67 Mon Sep 17 00:00:00 2001 From: jxltom Date: Sun, 4 Nov 2018 09:45:04 +0800 Subject: [PATCH] Fix can not concatenate str and type error during locking --- pipenv/vendor/delegator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/vendor/delegator.py b/pipenv/vendor/delegator.py index cf6f91c8..367f52b0 100644 --- a/pipenv/vendor/delegator.py +++ b/pipenv/vendor/delegator.py @@ -112,7 +112,7 @@ class Command(object): if self.subprocess.before: result += self.subprocess.before - if self.subprocess.after and self.subprocess.after is not pexpect.EOF: + if self.subprocess.after and self.subprocess.after not in (pexpect.EOF, pexpect.TIMEOUT): try: result += self.subprocess.after except (pexpect.EOF, pexpect.TIMEOUT):