Skip to content

Commit

Permalink
Fixes #183 PluginError not defined (its PluginException)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Feb 26, 2015
1 parent 2a213ea commit e145cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/maddavo_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,11 @@ def run(self):
use2d = 1 if self.getOption("use2d") else 0
usefull = 1 if self.getOption("usefull") else 0
if use3h + use2d + usefull > 1:
raise PluginError(
raise PluginException(
"Only one of use3h/use2d/usefull can be used at once."
)
if (use3h or use2d or usefull) and skipDownload:
raise PluginError(
raise PluginException(
"use3h/use2d/usefull has no effect with --opt=skipdl"
)
if use3h:
Expand Down

0 comments on commit e145cd2

Please sign in to comment.