Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def abspath(*args):

def load_config():
s = open('config.gypi').read()
s = re.sub(r'#.*?\n', '', s) # strip comments
s = re.sub(r'\'', '"', s) # convert quotes
s = re.sub(r'#.*\n?', '', s) # strip comments
s = s.replace("'", '"') # convert quotes
return json.loads(s)

def try_unlink(path):
Expand Down