Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: third_party/scons/scons-local/SCons/Node/FS.py

Issue 16447: Initial subset of .vcproj file generation, covering generation of:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libpng/libpng.scons ('k') | third_party/zlib/zlib.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/scons/scons-local/SCons/Node/FS.py
===================================================================
--- third_party/scons/scons-local/SCons/Node/FS.py (revision 7407)
+++ third_party/scons/scons-local/SCons/Node/FS.py (working copy)
@@ -554,7 +554,7 @@
This node, which already existed, is being looked up as the
specified klass. Raise an exception if it isn't.
"""
- if self.__class__ is klass or klass is Entry:
+ if isinstance(self, klass) or klass is Entry:
return
raise TypeError, "Tried to lookup %s '%s' as a %s." %\
(self.__class__.__name__, self.path, klass.__name__)
« no previous file with comments | « third_party/libpng/libpng.scons ('k') | third_party/zlib/zlib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698