Remove extra comments from helpers.py

* Was thinking about removing processdir and main, but somebody might still
want to use them + they could be a helpful reference for a new person.
pull/16/head
Dan Puttick 2017-05-16 15:02:37 -04:00
parent e51a503c33
commit 141a64cf33
1 changed files with 0 additions and 2 deletions

View File

@ -331,13 +331,11 @@ class KittenGroomerBase(object):
####################### #######################
# TODO: if we move main() we can get rid of this as well
def processdir(self, src_dir, dst_dir): def processdir(self, src_dir, dst_dir):
"""Implement this function to define file processing behavior.""" """Implement this function to define file processing behavior."""
raise ImplementationRequired('Please implement processdir.') raise ImplementationRequired('Please implement processdir.')
# TODO: Should this get moved to filecheck? It isn't really API code and somebody can implement it themselves
def main(kg_implementation, description='Call a KittenGroomer implementation to process files present in the source directory and copy them to the destination directory.'): def main(kg_implementation, description='Call a KittenGroomer implementation to process files present in the source directory and copy them to the destination directory.'):
parser = argparse.ArgumentParser(prog='KittenGroomer', description=description) parser = argparse.ArgumentParser(prog='KittenGroomer', description=description)
parser.add_argument('-s', '--source', type=str, help='Source directory') parser.add_argument('-s', '--source', type=str, help='Source directory')