[Python-checkins] cpython: Simplify a badly written condition.
zach.ware
python-checkins at python.org
Fri Jun 20 16:21:11 CEST 2014
http://hg.python.org/cpython/rev/2abe48ac614a
changeset: 91285:2abe48ac614a
user: Zachary Ware <zachary.ware at gmail.com>
date: Fri Jun 20 09:20:37 2014 -0500
summary:
Simplify a badly written condition.
files:
PCbuild/prepare_ssl.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/PCbuild/prepare_ssl.py b/PCbuild/prepare_ssl.py
--- a/PCbuild/prepare_ssl.py
+++ b/PCbuild/prepare_ssl.py
@@ -186,7 +186,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list