Changeset 45616
- Timestamp:
- 05/16/06 13:44:30 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Zope2/PortalTransforms/trunk/libtransforms/utils.py
r30130 r45616 1 import re2 1 import os 3 2 import sys … … 5 4 from sgmllib import SGMLParser 6 5 7 8 bin_search_path = [ 9 '/bin', 10 '/usr/bin', 11 '/usr/local/bin', 12 ] 6 bin_search_path = os.environ['PATH'].split(os.pathsep) 13 7 14 8 class MissingBinary(Exception): pass … … 19 13 if sys.platform == 'win32': 20 14 # Directory containing 'binary' should be in PATH 15 # XXX: I don't get this remark - SF 21 16 return binary 22 17 result = None
