diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-03-07 17:01:55 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-03-07 17:01:55 +0000 |
commit | 541d13064fa1f6e01c7a3d4e4fec6aa17bb427b5 (patch) | |
tree | 1fbf984884999577509f6745b68490697b29488c /fs/osfs | |
parent | 32079d6076c4a5c7f6387d9572191f5213beeea3 (diff) | |
download | pyfilesystem-541d13064fa1f6e01c7a3d4e4fec6aa17bb427b5.tar.gz |
fixed bad indentation
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@646 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/osfs')
-rw-r--r-- | fs/osfs/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/osfs/__init__.py b/fs/osfs/__init__.py index e84b4b4..729656d 100644 --- a/fs/osfs/__init__.py +++ b/fs/osfs/__init__.py @@ -107,13 +107,13 @@ class OSFS(OSFSXAttrMixin, OSFSWatchMixin, FS): if sys.platform == "win32": if use_long_paths and not root_path.startswith("\\\\?\\"): if not root_path.startswith("\\"): - root_path = u"\\\\?\\" + root_path + root_path = u"\\\\?\\" + root_path else: - # Explicitly mark UNC paths, seems to work better. - if root_path.startswith("\\\\"): - root_path = u"\\\\?\\UNC\\" + root_path[2:] - else: - root_path = u"\\\\?" + root_path + # Explicitly mark UNC paths, seems to work better. + if root_path.startswith("\\\\"): + root_path = u"\\\\?\\UNC\\" + root_path[2:] + else: + root_path = u"\\\\?" + root_path # If it points at the root of a drive, it needs a trailing slash. if len(root_path) == 6 and not root_path.endswith("\\"): root_path = root_path + "\\" |