diff --git a/over/file.py b/over/file.py index e3e4450..98b7a5d 100644 --- a/over/file.py +++ b/over/file.py @@ -54,3 +54,18 @@ def context_dir(path): yield finally: os.chdir(previous) + +# -------------------------------------------------- + +def filelist(d): + """ + Returns a filelist of d. + """ + + files = [] + + for root, directories, filenames in os.walk(d): + for filename in filenames: + files.append(os.path.join(root, filename)) + + return files diff --git a/over/version.py b/over/version.py index 23d8ef3..61bd81d 100644 --- a/over/version.py +++ b/over/version.py @@ -2,7 +2,7 @@ # encoding: utf-8 major = 2 # VERSION_MAJOR_IDENTIFIER -minor = 1 # VERSION_MINOR_IDENTIFIER -# VERSION_LAST_MM 2.1 -patch = 11 # VERSION_PATCH_IDENTIFIER -str = "2.1.11" # VERSION_STRING_IDENTIFIER +minor = 2 # VERSION_MINOR_IDENTIFIER +# VERSION_LAST_MM 2.2 +patch = 0 # VERSION_PATCH_IDENTIFIER +str = "2.2.0" # VERSION_STRING_IDENTIFIER