Skip to content

Commit

Permalink
Merge pull request #22 from SublimeLinter/more-cleanup
Browse files Browse the repository at this point in the history
Remove last SL3 bits
  • Loading branch information
kaste authored May 4, 2018
2 parents aa348ca + c8a20ed commit b952d46
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
"""This module exports the Annotations plugin class."""

import re
import SublimeLinter.lint

if getattr(SublimeLinter.lint, 'VERSION', 3) > 3:
from SublimeLinter.lint import const, Linter
ERROR = const.ERROR
WARNING = const.WARNING
else:
from SublimeLinter.lint import highlight, Linter
ERROR = highlight.ERROR
WARNING = highlight.WARNING
from SublimeLinter.lint import Linter, ERROR, WARNING


def _escape_words(values):
Expand Down

0 comments on commit b952d46

Please sign in to comment.