Reviewers: Søren Gjesse, Description: Pass in the module's filename while loading rather than the full path (so call to load_module now matches find_module). Otherwise dots in path name get mistaken for file suffixes.
BUG=63 Please review this at http://codereview.chromium.org/27086 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M tools/test.py Index: tools/test.py =================================================================== --- tools/test.py (revision 1345) +++ tools/test.py (working copy) @@ -544,7 +544,7 @@ file = None try: (file, pathname, description) = imp.find_module('testcfg', [ self.path ]) - module = imp.load_module(self.path, file, pathname, description) + module = imp.load_module('testcfg', file, pathname, description) self.config = module.GetConfiguration(context, self.path) finally: if file: --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
