Skip to content

Commit 6553f6d

Browse files
committed
ST2 bug fix (match could be None in Python2)
1 parent 3c778d3 commit 6553f6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SublimeCodeIntel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ def fix_truncation(self, view, words):
11821182
return fixed_words
11831183

11841184
def is_empty_match(self, match):
1185-
return match.empty()
1185+
return match is None or match.empty()
11861186

11871187

11881188
class SettingsManager():

0 commit comments

Comments
 (0)