Skip to content

Commit

Permalink
workaround clint issue on recent Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
weakish committed Sep 11, 2022
1 parent 5119c0a commit b67851a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion legit/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@
This module provides the basic functionality of legit.
"""

# workaround until clint#182 is merged and released
# https://github.com/kennethreitz-archive/clint/pull/182
import sys
if not sys.warnoptions:
if sys.version_info > (3, 7):
import warnings
warnings.simplefilter("ignore", category=SyntaxWarning)

from . import bootstrap
del bootstrap

__version__ = '1.2.0'
__version__ = '1.2.1'
__author__ = 'Kenneth Reitz'
__license__ = 'BSD'

0 comments on commit b67851a

Please sign in to comment.