pylint corrections for cron-event-watcher
#pylint: disable=import-error
import argparse
-from openshift_tools.monitoring.metric_sender import MetricSender
-import json
from Queue import Queue
import re
import subprocess
import threading
import time
import yaml
+from openshift_tools.monitoring.metric_sender import MetricSender
#pylint: disable=too-few-public-methods
class OpenshiftEventConsumer(object):
@@ -159,7 +158,6 @@ class OpenshiftEventWatcher(object):
'--watch-only'], bufsize=1,
stdout=subprocess.PIPE)
- json_str = ""
print "Watching for events: " + str(self.args.watch_for)
for line in iter(popen.stdout.readline, b''):
