mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix over-indentation
This commit is contained in:
+6
-6
@@ -1020,12 +1020,12 @@ def check(three=None, python=False):
|
||||
# Assert each specified requirement.
|
||||
for marker, specifier in p.data['_meta']['requires'].items():
|
||||
|
||||
if marker in results:
|
||||
try:
|
||||
assert results[marker] == specifier
|
||||
except AssertionError:
|
||||
failed = True
|
||||
click.echo('Specifier {0} does not match {1} ({2}).'.format(crayons.green(marker), crayons.blue(specifier), crayons.red(results[marker])))
|
||||
if marker in results:
|
||||
try:
|
||||
assert results[marker] == specifier
|
||||
except AssertionError:
|
||||
failed = True
|
||||
click.echo('Specifier {0} does not match {1} ({2}).'.format(crayons.green(marker), crayons.blue(specifier), crayons.red(results[marker])))
|
||||
if failed:
|
||||
click.echo(crayons.red('Failed!'))
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user