From 72539ad3917482fbc61b899359ca9d864ffcb710 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 25 Sep 2017 21:07:57 +0200 Subject: [PATCH] removing some parsing that wasnt used --- rowers/uploads.py | 17 ----------------- 1 file changed, 17 deletions(-) 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