mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
This commit is contained in:
parent
1f1ec12db9
commit
8a1d1e647e
3 changed files with 28 additions and 1 deletions
|
@ -228,7 +228,8 @@ def main():
|
|||
success = False
|
||||
return success
|
||||
else:
|
||||
return compile_path(legacy=args.legacy)
|
||||
return compile_path(legacy=args.legacy, force=args.force,
|
||||
quiet=args.quiet)
|
||||
except KeyboardInterrupt:
|
||||
print("\n[interrupted]")
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue