Skip to content

Commit

Permalink
skip the version check (avoid distutils ImportError in sublime)
Browse files Browse the repository at this point in the history
  • Loading branch information
wst committed Feb 2, 2013
1 parent fa5d54a commit e62ff01
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions autopep8.py
Expand Up @@ -42,18 +42,7 @@
import difflib
import tempfile

from distutils.version import StrictVersion
try:
import pep8
try:
if StrictVersion(pep8.__version__) < StrictVersion('1.3a2'):
pep8 = None
except ValueError:
# Ignore non-standard version tags.
pass
except ImportError:
pep8 = None

import pep8

__version__ = '0.8.6'

Expand Down

0 comments on commit e62ff01

Please sign in to comment.