Fix mgmt cmds, use real types not strings

This commit is contained in:
Wayne Witzel III
2017-11-13 15:27:12 -05:00
parent d9f8f7721a
commit 768a3f62f1
5 changed files with 13 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ class Command(BaseCommand):
help = 'Remove old jobs, project and inventory updates from the database.'
def add_arguments(self, parser):
parser.add_argument('--days', dest='days', type='int', default=90, metavar='N',
parser.add_argument('--days', dest='days', type=int, default=90, metavar='N',
help='Remove jobs/updates executed more than N days ago. Defaults to 90.')
parser.add_argument('--dry-run', dest='dry_run', action='store_true',
default=False, help='Dry run mode (show items that would '