Make clean default to all

This commit is contained in:
Dan 2018-08-30 01:17:35 +02:00
parent 5e4a769c01
commit ca15778ac8

View File

@ -102,7 +102,7 @@ class Clean(Command):
if self.docs: if self.docs:
paths.update(Clean.DOCS) paths.update(Clean.DOCS)
if self.all: if self.all or not paths:
paths.update(Clean.ALL) paths.update(Clean.ALL)
for path in sorted(list(paths)): for path in sorted(list(paths)):