Remove .lower() from check_mode() in pkginfolib (#867)

Fix #866
This commit is contained in:
Arjen van Bochoven
2018-10-03 15:48:55 +02:00
committed by Greg Neagle
parent 559f75b9d6
commit 0bfa5a38b5

View File

@@ -710,7 +710,7 @@ def makepkginfo(installeritem, options):
def check_mode(option, opt, value, parser):
'''Callback to check --mode options'''
modes = value.lower().replace(',', ' ').split()
modes = value.replace(',', ' ').split()
value = None
rex = re.compile("[augo]+[=+-][rstwxXugo]+")
for mode in modes: