From e7e60c2991335fff25cf85c052ff7a73ca0032d9 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 22 Sep 2016 11:28:42 +0200 Subject: [PATCH] Removing useless prints --- mrq/config.py | 4 ---- tests/tasks/general.py | 2 -- 2 files changed, 6 deletions(-) diff --git a/mrq/config.py b/mrq/config.py index cecb1aa0..5ee51425 100644 --- a/mrq/config.py +++ b/mrq/config.py @@ -419,15 +419,11 @@ def get_config( from_args[k] = v # If we were given another config file, use it - print "hello" - print file_path - print from_args.get("config") if file_path is not None: config_file = file_path elif from_args.get("config"): config_file = from_args.get("config") - print config_file # If a mrq-config.py file is in the current directory, use it! elif os.path.isfile(os.path.join(os.getcwd(), "mrq-config.py")): config_file = os.path.join(os.getcwd(), "mrq-config.py") diff --git a/tests/tasks/general.py b/tests/tasks/general.py index 526ee365..ea86ce1d 100644 --- a/tests/tasks/general.py +++ b/tests/tasks/general.py @@ -6,14 +6,12 @@ import json import time import copy -from mrq.config import get_config from mrq.utils import MongoJSONEncoder class Add(Task): def run(self, params): - print get_config() log.info("adding", params) res = params.get("a", 0) + params.get("b", 0)