summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/command/install_lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/command/install_lib.py')
-rw-r--r--Lib/packaging/command/install_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/command/install_lib.py b/Lib/packaging/command/install_lib.py
index 978f0ef..5e81b41 100644
--- a/Lib/packaging/command/install_lib.py
+++ b/Lib/packaging/command/install_lib.py
@@ -114,7 +114,7 @@ class install_lib(Command):
return outfiles
def byte_compile(self, files):
- if getattr(sys, 'dont_write_bytecode'):
+ if sys.dont_write_bytecode:
# XXX do we want this? because a Python runs without bytecode
# doesn't mean that the *dists should not contain bytecode
#--or does it?