Skip to content

Commit aee8542

Browse files
committed
Add a break statement, just in case.
1 parent a501367 commit aee8542

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def makeBrowserCommand(browser):
248248
if (name and name.find(key) > -1) or path.find(key) > -1:
249249
command = types[key](browser)
250250
command.name = command.name or key
251+
break
251252

252253
if command is None:
253254
raise Exception("Unrecognized browser: %s" % browser)

0 commit comments

Comments
 (0)