Permalink
Browse files

removed extraneous debug output to console from OpenRSpecFile.py

  • Loading branch information...
1 parent f699097 commit 981e3cc74701b898c0dca9903776a543860eadc0 @barneywilliams barneywilliams committed Feb 21, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 OpenRSpecFile.py
View
@@ -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):

0 comments on commit 981e3cc

Please sign in to comment.