mirror of
https://github.com/python/cpython.git
synced 2026-04-02 10:00:45 +00:00
Simplify a badly written condition.
This commit is contained in:
parent
2b31375956
commit
75b2b8b41f
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ def main():
|
|||
|
||||
ssl_dir = sys.argv[1]
|
||||
|
||||
if not os.path.exists(ssl_dir) and os.path.isdir(ssl_dir):
|
||||
if not os.path.isdir(ssl_dir):
|
||||
print(ssl_dir, "is not an existing directory!")
|
||||
sys.exit(1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue