Skip to content

Commit 3f72d4a

Browse files
committed
Fix "clean_builds" command argument parsing
Currently, the `clean_builds` command crashes with a "ValueError: 'int' is not callable" exception.
1 parent e3fedef commit 3f72d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/core/management/commands/clean_builds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def add_arguments(self, parser):
2323
parser.add_argument(
2424
'--days',
2525
dest='days',
26-
type='int',
26+
type=int,
2727
default=365,
2828
help='Find builds older than DAYS days, default: 365',
2929
)

0 commit comments

Comments
 (0)