Fix typo for purge command
This commit is contained in:
parent
9a39db4546
commit
3f46ee6a30
|
@ -183,7 +183,7 @@ class PurgeTempmon(Subcommand):
|
||||||
do_purge(self.config, args.keep, dry_run=args.dry_run, progress=self.progress)
|
do_purge(self.config, args.keep, dry_run=args.dry_run, progress=self.progress)
|
||||||
|
|
||||||
|
|
||||||
def do_purge(self, config, keep_days, dry_run=False, progress=None):
|
def do_purge(config, keep_days, dry_run=False, progress=None):
|
||||||
from rattail_tempmon.db import Session, model
|
from rattail_tempmon.db import Session, model
|
||||||
from rattail.db.util import finalize_session
|
from rattail.db.util import finalize_session
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue