Skip to content

Commit 4638701

Browse files
committed
fixes issue with capitalization in URLs
Fixes pypa#629 Signed-off-by: Kenneth Reitz <[email protected]>
1 parent 333f042 commit 4638701

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pipenv/project.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,13 @@ def _lockfile(self):
226226
pfile = pipfile.load(self.pipfile_location)
227227
lockfile = json.loads(pfile.lock())
228228

229-
for section in ('default', 'develop'):
230-
lock_section = lockfile.get(section, {})
229+
# We may need this later...
230+
# for section in ('default', 'develop'):
231+
# lock_section = lockfile.get(section, {})
231232

232-
for key in list(lock_section.keys()):
233-
norm_key = pep423_name(key)
234-
lockfile[section][norm_key] = lock_section.pop(key)
233+
# for key in list(lock_section.keys()):
234+
# norm_key = pep423_name(key)
235+
# lockfile[section][norm_key] = lock_section.pop(key)
235236

236237
return lockfile
237238

0 commit comments

Comments
 (0)