mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@571 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
		
			
				
	
	
		
			15 lines
		
	
	
		
			653 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			653 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Index: pylib/gyp/input.py
 | |
| ===================================================================
 | |
| --- pylib/gyp/input.py	(revision 1107)
 | |
| +++ pylib/gyp/input.py	(working copy)
 | |
| @@ -666,7 +666,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])
 |