From 981e3cc74701b898c0dca9903776a543860eadc0 Mon Sep 17 00:00:00 2001 From: Greg Williams Date: Tue, 21 Feb 2012 11:55:00 -0500 Subject: [PATCH] removed extraneous debug output to console from OpenRSpecFile.py --- OpenRSpecFile.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenRSpecFile.py b/OpenRSpecFile.py index cb98777..23c4fdb 100644 --- a/OpenRSpecFile.py +++ b/OpenRSpecFile.py @@ -17,13 +17,10 @@ def run(self, option): current_file = re.search(r"([\w\.]+)$", current_file_path).group(1) base_name = re.search(r"(\w+)\.(\w+)$", current_file).group(1) base_name = re.sub('_spec', '', base_name) - print base_name source_matcher = re.compile("[/\\\\]" + base_name + "\.rb$") test_matcher = re.compile("[/\\\\]" + base_name + "_spec\.rb$") - print(current_file) - if option == 'next': print "Current file: " + current_file if re.search(re.compile(base_name + "_spec\.rb$"), current_file): @@ -49,7 +46,6 @@ def run(self, option): window.focus_view(v) def open_project_file(self, file_matcher, window, auto_set_view=-1): - print file_matcher for root, dirs, files in os.walk(window.folders()[0]): for f in files: if re.search(r"\.rb$", f):