summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-16 01:49:38 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-12-16 01:49:38 (GMT)
commit8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb (patch)
tree7267be36dc61e06bd0817d559e0a753b3f25c58e /Lib/compileall.py
parent1f1ec12db9eefa36bc7a2227c40ecdfcac945439 (diff)
downloadcpython-8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb.zip
cpython-8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb.tar.gz
cpython-8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb.tar.bz2
#19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r--Lib/compileall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py
index d3cff6a..693eda9 100644
--- a/Lib/compileall.py
+++ b/Lib/compileall.py
@@ -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