summaryrefslogtreecommitdiff
path: root/fs/utils.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 16:57:26 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 16:57:26 +0000
commiteda4f0c2c4a33faf26c93b514aae2be4628710c1 (patch)
treebc521b96fed53a901360abac1f1c5126c10ca953 /fs/utils.py
parent9da556e72ef2fe21d1a8891c8fb275e6c69e96d9 (diff)
downloadpyfilesystem-eda4f0c2c4a33faf26c93b514aae2be4628710c1.tar.gz
Fixes of some errors/warnings reported by PyDev and inline documentation
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@644 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/utils.py')
-rw-r--r--fs/utils.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/utils.py b/fs/utils.py
index e0e071b..8b081ed 100644
--- a/fs/utils.py
+++ b/fs/utils.py
@@ -14,7 +14,6 @@ __all__ = ['copyfile',
'find_duplicates',
'print_fs']
-import shutil
import os
import sys
import stat
@@ -453,9 +452,9 @@ def print_fs(fs, path='/', max_levels=5, file_out=None, terminal_colors=None, hi
file_out.write(line.encode(file_encoding, 'replace')+'\n')
def wrap_prefix(prefix):
- if not terminal_colors:
- return prefix
- return '\x1b[34m%s\x1b[0m' % prefix
+ if not terminal_colors:
+ return prefix
+ return '\x1b[34m%s\x1b[0m' % prefix
def wrap_dirname(dirname):
if not terminal_colors: