mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-28 14:33:31 +01:00
Removed facade on os.walk.
This commit is contained in:
@@ -27,13 +27,6 @@ class CurrentDir(object):
|
||||
pass
|
||||
|
||||
|
||||
def walk(dir):
|
||||
"""A nice interface to os.walk"""
|
||||
for record in os.walk(dir):
|
||||
for f in record[-1]:
|
||||
yield os.path.join(record[0], f)
|
||||
|
||||
|
||||
def entity_to_unicode(match, exceptions=[], encoding='cp1252',
|
||||
result_exceptions={}):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user