Skip to content

Commit 0b1741d

Browse files
committed
fix for pypa#559
Signed-off-by: Kenneth Reitz <[email protected]>
1 parent d61a95d commit 0b1741d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pipenv/utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def convert_deps_from_pip(dep):
165165
dependency = {}
166166

167167
req = [r for r in requirements.parse(dep)][0]
168-
169168
# File installs.
170169
if req.uri and not req.vcs:
171170

@@ -206,7 +205,7 @@ def convert_deps_from_pip(dep):
206205
specs = None
207206
# Comparison operators: e.g. Django>1.10
208207
if req.specs:
209-
r = multi_split(dep, '=<>')
208+
r = multi_split(dep, '!=<>')
210209
specs = dep[len(r[0]):]
211210
dependency[req.name] = specs
212211

0 commit comments

Comments
 (0)