Merge pull request #300 from jacknagel/patch-2

acprep: remove dead code
This commit is contained in:
Martin Michlmayr 2014-06-05 19:10:05 -04:00
commit f577dc4edc

2
acprep
View file

@ -36,8 +36,6 @@ LEVELS = {'DEBUG': logging.DEBUG,
'ERROR': logging.ERROR,
'CRITICAL': logging.CRITICAL}
search_prefixes = [ '/usr/local', '/opt/local', '/sw', '/usr' ]
def which(program):
def is_exe(fpath):
return os.path.exists(fpath) and os.access(fpath, os.X_OK)