Minor changes to return() layout
This commit is contained in:
parent
70c41b3038
commit
adc9a3c608
1 changed files with 2 additions and 3 deletions
|
@ -58,7 +58,7 @@ def ignore(inp, input=None, notice=None):
|
|||
else:
|
||||
ignore_target(target)
|
||||
notice("%s has been ignored." % target)
|
||||
|
||||
return
|
||||
|
||||
@hook.command(adminonly=True)
|
||||
def unignore(inp, input=None, notice=None):
|
||||
|
@ -68,8 +68,7 @@ def unignore(inp, input=None, notice=None):
|
|||
if is_ignored(target):
|
||||
unignore_target(target)
|
||||
notice("%s has been unignored." % target)
|
||||
return
|
||||
else:
|
||||
notice("%s is not ignored." % target)
|
||||
return
|
||||
return
|
||||
|
||||
|
|
Reference in a new issue