Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-27 16:22:35 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-27 16:22:35 (GMT)
commit6ab02c1f23631f8e87615610ed811bc4bf31accc (patch)
treec4ad9c8eb375ba207c63d82feb67ac1f3e879acf
parent9156e1f3d15ec8bac9890a80688f9ae6e924ff81 (diff)
Remove unused code
-rw-r--r--devbot/command.py6
-rw-r--r--devbot/config.py3
2 files changed, 0 insertions, 9 deletions
diff --git a/devbot/command.py b/devbot/command.py
index 16ba788..16bc9bd 100644
--- a/devbot/command.py
+++ b/devbot/command.py
@@ -3,7 +3,6 @@ import time
from devbot import utils
-_logger = None
_log_path = None
@@ -12,11 +11,6 @@ def set_log_path(path):
_log_path = path
-def set_logger(logger):
- global _logger
- _logger = logger
-
-
def run(args, test=False, retry=0):
if test:
print " ".join(args)
diff --git a/devbot/config.py b/devbot/config.py
index ae1509c..24d095a 100644
--- a/devbot/config.py
+++ b/devbot/config.py
@@ -96,9 +96,6 @@ def setup(**kwargs):
if "log_name" in kwargs:
command.set_log_path(create_log(kwargs["log_name"]))
- if "logger" in kwargs:
- command.set_logger(kwargs["logger"])
-
def get_source_dir():
global _source_dir