diff options
Diffstat (limited to 'logilab/common/fileutils.py')
-rw-r--r-- | logilab/common/fileutils.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/logilab/common/fileutils.py b/logilab/common/fileutils.py index b30cf5f..366d23d 100644 --- a/logilab/common/fileutils.py +++ b/logilab/common/fileutils.py @@ -67,13 +67,7 @@ def first_level_directory(path): return head def abspath_listdir(path): - """Lists path's content using absolute paths. - - >>> os.listdir('/home') - ['adim', 'alf', 'arthur', 'auc'] - >>> abspath_listdir('/home') - ['/home/adim', '/home/alf', '/home/arthur', '/home/auc'] - """ + """Lists path's content using absolute paths.""" path = abspath(path) return [join(path, filename) for filename in listdir(path)] |