projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b33704
)
fileutil: change WindowsError to OSError in abspath_expanduser_unicode, because Windo...
author
david-sarah
<david-sarah@jacaranda.org>
Sun, 25 Jul 2010 22:26:03 +0000
(15:26 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Sun, 25 Jul 2010 22:26:03 +0000
(15:26 -0700)
src/allmydata/util/fileutil.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/fileutil.py
b/src/allmydata/util/fileutil.py
index a6b59bc8c79dc407e3e0b08a6484e8c908bd8ab9..5a5179c13bee1233ae8f0112904d4826755b6863 100644
(file)
--- a/
src/allmydata/util/fileutil.py
+++ b/
src/allmydata/util/fileutil.py
@@
-295,7
+295,7
@@
def abspath_expanduser_unicode(path):
# e.g. "\\". See <http://bugs.python.org/issue1669539>.
try:
path = _getfullpathname(path or u".")
- except
Windows
Error:
+ except
OS
Error:
pass
if not os.path.isabs(path):