Skip to content

Commit

Permalink
authztool s/RIGHTS_HELP/self.usage/, otherwise it dies
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshData authored and amercader committed Oct 19, 2012
1 parent 079af72 commit f61458f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/authztool.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def command(self):
self.list(args)
return

assert len(self.args) == 4, "Not enough parameters!" + RIGHTS_HELP
assert len(self.args) == 4, "Not enough parameters!" + self.usage
cmd, subj, role, obj = self.args

RightsTool.make_or_remove_roles(cmd, subj, role, obj, except_on_error=False)
Expand Down

0 comments on commit f61458f

Please sign in to comment.