On Mon, Feb 11, 2013 at 4:06 PM, Guido Trotter <[email protected]> wrote:
> From: Helga Velroyen <[email protected]> > > Make _UnlockedLookupNetwork() raise OpPrereqError (instead of returning > None) in case it does not find the requested network. Remove useless and > duplicate code such as: > > if net_uuid is None: > raise... > > This is a cherry-pick of commit 1cce2c4. > > Signed-off-by: Dimitris Aragiorgis <[email protected]> > Reviewed-by: Helga Velroyen <[email protected]> > --- > lib/cmdlib.py | 57 > ++++++++++++++++++--------------------------------------- > lib/config.py | 30 +++++++++--------------------- > 2 files changed, 27 insertions(+), 60 deletions(-) > LGTM, thanks. Michele
