Skip to content
Snippets Groups Projects
Commit be954da6 authored by Adam Paquette's avatar Adam Paquette
Browse files

Removed duplicate methods.

parent 51a67f8d
No related branches found
No related tags found
No related merge requests found
......@@ -51,30 +51,6 @@ def file_to_list(file):
return list(file_list)
def create_dir(basedir=''):
"""
Create a unique, temporary directory in /tmp where processing will occur
Parameters
----------
basedir : str
The PATH to create the temporary directory in.
"""
return tempfile.mkdtemp(dir=basedir)
def delete_dir(dir):
"""
Delete a directory
Parameters
----------
dir : str
Remove a directory
"""
shutil.rmtree(dir)
def file_search(searchdir,searchstring):
"""
Recursively search for files in the specified directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment