Fix entry point lookups without any custom entry points.

Review Request #5131 — Created Dec. 17, 2013 and submitted

Information

RBTools
master

Reviewers

Fix entry point lookups without any custom entry points.

The recent fix for looking up third party entry points was failing if
there weren't any custom entry points registered. Typing a command that
RBTools doesn't supply would raise a StopIteration error. This happened
because the lookup assumed the existence of at least one entry.

It's now a bit more bullet-proof and catches that StopIteration
cleanly.

Typed an invalid RBTools command name and saw it give me a proper error
instead of StopIteration.

SM
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...