Commit 201a9714 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

astakos: Remove obsolete keyword argument ctx

parent b0eb658d
......@@ -153,11 +153,9 @@ class Command(BaseCommand):
length,))
@commit_on_success_strict()
def expire(self, execute=False, ctx=None):
def expire(self, execute=False):
try:
projects = check_expiration(execute=execute)
self.print_expired(projects, execute)
except BaseException as e:
if ctx:
ctx.mark_rollback()
raise CommandError(e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment