whitespace

This commit is contained in:
Antoine Pitrou 2014-12-30 22:09:42 +01:00
parent 8477ed6048
commit 5d4e27ecee
1 changed files with 5 additions and 5 deletions

View File

@ -227,11 +227,11 @@ class _WindowsFlavour(_Flavour):
elif 'USERPROFILE' in os.environ:
userhome = os.environ['USERPROFILE']
elif 'HOMEPATH' in os.environ:
try:
drv = os.environ['HOMEDRIVE']
except KeyError:
drv = ''
userhome = drv + os.environ['HOMEPATH']
try:
drv = os.environ['HOMEDRIVE']
except KeyError:
drv = ''
userhome = drv + os.environ['HOMEPATH']
else:
raise RuntimeError("Can't determine home directory")