make message checking .. in lockprefix start with uppercase

This commit is contained in:
Radim Kolar 2009-08-24 21:07:21 +02:00
parent 59344b6e47
commit b2a2c3872e

View File

@ -1,15 +1,15 @@
# #
# SCons user-supplied FSP lock prefix tester # SCons user-supplied FSP lock prefix tester
# #
# Version 1.0 # Version 1.1
# 20-Jul-2009 # 24-Aug-2009
# #
from SCons.Script import ARGUMENTS from SCons.Script import ARGUMENTS
def checkForLockPrefix(conf): def checkForLockPrefix(conf):
"""Check for user-supplied lock prefix.""" """Check for user-supplied lock prefix."""
conf.Message("checking for user supplied lockprefix... ") conf.Message("Checking for user supplied lockprefix... ")
lp = ARGUMENTS.get('lockprefix', 0) or ARGUMENTS.get("with-lockprefix",0) lp = ARGUMENTS.get('lockprefix', 0) or ARGUMENTS.get("with-lockprefix",0)
if lp: if lp: