fix the bug

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-23 11:14:04 -04:00
parent 104996c372
commit 999d9e6e64
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
7.6.6:
- Packaging problem.
7.6.5:
- Patched vendored 'safety' package to remove yaml dependency — should work on all Pythons now.
7.6.4:
+1 -1
View File
@@ -2029,7 +2029,7 @@ def check(three=None, python=False):
)
path = pep508checker.__file__.rstrip('cdo')
path = os.sep.join(__file__.split(os.sep)[:-1] + ['safety', 'safety.zip'])
path = os.sep.join(__file__.split(os.sep)[:-1] + ['patched', 'safety.zip'])
c = delegator.run('"{0}" {1} check --json'.format(which('python'), shellquote(path)))
try: