cosmetical changes
* Move definition of the YUM constant up the the other constants.
This commit is contained in:
parent
5cffc02eba
commit
1dc0d65eb3
@ -25,6 +25,9 @@ except ImportError:
|
||||
from optparse import OptionParser
|
||||
|
||||
DEFAULT_TIMEOUT = 55
|
||||
YUM = "/usr/bin/yum"
|
||||
|
||||
|
||||
|
||||
|
||||
def end(status, message, perfdata=""):
|
||||
@ -45,8 +48,6 @@ def end(status, message, perfdata=""):
|
||||
sys.exit(UNKNOWN)
|
||||
|
||||
|
||||
YUM = "/usr/bin/yum"
|
||||
|
||||
def check_yum_usable():
|
||||
"""Checks that the YUM program and path are correct and usable - that the program exists and is executable, otherwise exits with error."""
|
||||
|
||||
|
Reference in New Issue
Block a user