summaryrefslogtreecommitdiff
path: root/distutils/command/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'distutils/command/install.py')
-rw-r--r--distutils/command/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py
index 08d2f881..a1f8209a 100644
--- a/distutils/command/install.py
+++ b/distutils/command/install.py
@@ -609,7 +609,7 @@ class install(Command):
for attr in attrs:
val = getattr(self, attr)
if val is not None:
- if os.name == 'posix' or os.name == 'nt':
+ if os.name in ('posix', 'nt'):
val = os.path.expanduser(val)
val = subst_vars(val, self.config_vars)
setattr(self, attr, val)