cef/cef1/patch/patches/tools_gyp.patch
Marshall Greenblatt 986909b249 Create 1271 release branch for CEF1.
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1271@840 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-10-04 15:03:10 +00:00

15 lines
632 B
Diff

Index: pylib/gyp/input.py
===================================================================
--- pylib/gyp/input.py (revision 1501)
+++ pylib/gyp/input.py (working copy)
@@ -685,7 +685,8 @@
# that don't load quickly, this can be faster than
# <!(python modulename param eters). Do this in |build_file_dir|.
oldwd = os.getcwd() # Python doesn't like os.open('.'): no fchdir.
- os.chdir(build_file_dir)
+ if not build_file_dir is None:
+ os.chdir(build_file_dir)
parsed_contents = shlex.split(contents)
py_module = __import__(parsed_contents[0])