mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-21 09:26:14 +01:00
wscript: fix regex syntax warning
This commit is contained in:
parent
07b027f43e
commit
0d6fd0b81e
2
wscript
2
wscript
@ -215,7 +215,7 @@ def configure(conf):
|
||||
conf.define('LINUX', True)
|
||||
|
||||
conf.msg(msg='-> processing mod options', result='...', color='BLUE')
|
||||
regex = re.compile('^([A-Za-z0-9_-]+)=([A-Za-z0-9_-]+)\ \#\ (.*)$')
|
||||
regex = re.compile('^([A-Za-z0-9_-]+)=([A-Za-z0-9_-]+) # (.*)$')
|
||||
with open(str(conf.path.make_node('mod_options.txt'))) as fd:
|
||||
lines = fd.readlines()
|
||||
for line in lines:
|
||||
|
Loading…
Reference in New Issue
Block a user