Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ST3 compatibility in file type detection

  • Loading branch information...
commit d9ed38361fa4c2645f2167b648aa57f5c62f27bd 1 parent 320ee6d
Gabriel Evans authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  OpenRSpecFile.py
  2. +1 −1  RSpecDetectFileType.py
View
2  OpenRSpecFile.py
@@ -37,7 +37,7 @@ def open_project_file(self, file_matcher, window, group=-1):
for f in files:
if re.search(r"\.rb$", f):
cur_file = os.path.join(root, f)
- # print "Assessing: " + cur_file
+ # print("Assessing: " + cur_file)
if file_matcher.search(cur_file):
file_view = window.open_file(os.path.join(root, f))
if group >= 0: # don't set the view unless specified
View
2  RSpecDetectFileType.py
@@ -26,4 +26,4 @@ def set_syntax(view, syntax, path=None):
if path is None:
path = syntax
view.settings().set('syntax', 'Packages/'+ path + '/' + syntax + '.tmLanguage')
- print "Switched syntax to: " + syntax
+ print("Switched syntax to: " + syntax)
Please sign in to comment.
Something went wrong with that request. Please try again.