Merge pull request #244 from sayrer/master

fix exception throwing syntax
This commit is contained in:
Andreas Gal 2011-07-10 12:14:10 -07:00
commit c1838bde7f

View File

@ -189,7 +189,7 @@ class BaseBrowserCommand(object):
self._fixupMacPath()
if not os.path.exists(self.path):
throw("Path to browser '%s' does not exist." % self.path)
raise Exception("Path to browser '%s' does not exist." % self.path)
def setup(self):
self.tempDir = tempfile.mkdtemp()