Commit becdff17 authored by Julien Muchembled's avatar Julien Muchembled

Do not fail if PATH environment variable is not defined

This is required for ZEO.
parent 39f73b76
......@@ -16,7 +16,7 @@ except ImportError:
class MissingBinary(Exception): pass
envPath = os.environ['PATH']
envPath = os.getenv('PATH', '')
bin_search_path = [path for path in envPath.split(os.pathsep)
if os.path.isdir(path)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment