Skip to content

Commit

Permalink
Merge pull request #275 from frostming/clint-182
Browse files Browse the repository at this point in the history
workaround clint issue on recent Python versions
  • Loading branch information
weakish authored Sep 15, 2023
2 parents 2d9c99f + b67851a commit 3439378
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 3439378

Please sign in to comment.