Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed extraneous debug output to console from OpenRSpecFile.py

  • Loading branch information...
commit 981e3cc74701b898c0dca9903776a543860eadc0 1 parent f699097
@barneywilliams barneywilliams authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 OpenRSpecFile.py
View
4 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):
Please sign in to comment.
Something went wrong with that request. Please try again.