diff --git a/rowers/uploads.py b/rowers/uploads.py index 51406ff6..0776a3ba 100644 --- a/rowers/uploads.py +++ b/rowers/uploads.py @@ -26,23 +26,6 @@ from rowers.utils import ( str2bool,range_to_color_hex,absolute ) -#Configuration for argument parsing -parser = argparse.ArgumentParser() -parser.add_argument("path", help='File/Directory path to be examined', type=str) -args = (parser.parse_args()) - -#The main loop - -#Verify file is in YAML, if so save as dict then end -#ignore = set([]) -#with open(args.path, "r") as f: -# try: -# yml = (yaml.load(f)) -# print yml -# #If not yaml run through yamllint -# except yaml.YAMLError as exc: -# call(["yamllint","-f","parsable",args.path]) - def upload_options(body): uploadoptions = {} # ok, a temp solution - write to temp file