[Python-checkins] cpython: whitespace

antoine.pitrou python-checkins at python.org
Tue Dec 30 22:09:49 CET 2014


https://hg.python.org/cpython/rev/d5f2bcfd544c
changeset: 93990:d5f2bcfd544c
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Dec 30 22:09:42 2014 +0100
summary:
 whitespace
files:
 Lib/pathlib.py | 10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -227,11 +227,11 @@
 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")
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /