]> git.parisson.com Git - pdf.js.git/commitdiff
Add a break statement, just in case.
authorRob Sayre <sayrer@gmail.com>
Wed, 29 Jun 2011 18:17:34 +0000 (11:17 -0700)
committerRob Sayre <sayrer@gmail.com>
Wed, 29 Jun 2011 18:17:34 +0000 (11:17 -0700)
test/test.py

index 96ff81672fb2f8fc371b060d14f7809263329115..17e1fd19da4cf19cc81198c23d7c3170150012dc 100644 (file)
@@ -248,6 +248,7 @@ def makeBrowserCommand(browser):
         if (name and name.find(key) > -1) or path.find(key) > -1:
             command = types[key](browser)
             command.name = command.name or key
+            break
 
     if command is None:
         raise Exception("Unrecognized browser: %s" % browser)