Skip to content

Commit

Permalink
Removing useless prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauleuh committed Sep 22, 2016
1 parent b8a704d commit e7e60c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions mrq/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions tests/tasks/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e7e60c2

Please sign in to comment.