Skip to content

Commit

Permalink
removed extraneous debug output to console from OpenRSpecFile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
barneywilliams committed Feb 21, 2012
1 parent f699097 commit 981e3cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions OpenRSpecFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 981e3cc

Please sign in to comment.