From 9573fc3a6db45f7c862370153fb4d71e96ca82cc Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 6 Sep 2017 02:01:30 -0400 Subject: [PATCH] use dashes for pep 508 specifiers Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 76ca9c31..804c6d5f 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -498,7 +498,7 @@ def do_lock(no_hashes=True): # Run the PEP 508 checker in the virtualenv, add it to the lockfile. c = delegator.run('"{0}" {1}'.format(which('python'), pep508checker.__file__.rstrip('cdo'))) - lockfile['_meta']['host_508_specifiers'] = json.loads(c.out) + lockfile['_meta']['host-508-specifiers'] = json.loads(c.out) # Write out the lockfile. with open(project.lockfile_location, 'w') as f: @@ -552,7 +552,7 @@ def do_lock(no_hashes=True): # Run the PEP 508 checker in the virtualenv, add it to the lockfile. c = delegator.run('"{0}" {1}'.format(which('python'), pep508checker.__file__.rstrip('cdo'))) - lockfile['_meta']['host_508_specifiers'] = json.loads(c.out) + lockfile['_meta']['host-508-specifiers'] = json.loads(c.out) # Write out lockfile. with open(project.lockfile_location, 'w') as f: