Merge pull request #300 from jacknagel/patch-2
acprep: remove dead code
This commit is contained in:
commit
f577dc4edc
1 changed files with 0 additions and 2 deletions
2
acprep
2
acprep
|
|
@ -36,8 +36,6 @@ LEVELS = {'DEBUG': logging.DEBUG,
|
||||||
'ERROR': logging.ERROR,
|
'ERROR': logging.ERROR,
|
||||||
'CRITICAL': logging.CRITICAL}
|
'CRITICAL': logging.CRITICAL}
|
||||||
|
|
||||||
search_prefixes = [ '/usr/local', '/opt/local', '/sw', '/usr' ]
|
|
||||||
|
|
||||||
def which(program):
|
def which(program):
|
||||||
def is_exe(fpath):
|
def is_exe(fpath):
|
||||||
return os.path.exists(fpath) and os.access(fpath, os.X_OK)
|
return os.path.exists(fpath) and os.access(fpath, os.X_OK)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue