wangyu5 / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

pretty_gyp.py does not work #268

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd tools
2. pretty_gyp.py test.gyp

What is the expected output? What do you see instead?

Expected: Pretty-prints the contents of test.gyp.
Instead: 
Traceback (most recent call last):
  File "./pretty_gyp.py", line 20, in <module>
    QUOTE_RE = re.compile(QUOTE_RE_STR)
NameError: name 'QUOTE_RE_STR' is not define

Reason: QUOTE_RE_STR is in lowercase in pretty_gyp.py

Original issue reported on code.google.com by haitao.f...@intel.com on 14 May 2012 at 1:57