Skip to content

Commit

Permalink
Add warning for 2.7 also
Browse files Browse the repository at this point in the history
its support was deprecated in version 6.4
  • Loading branch information
xavfernandez committed Jan 18, 2019
1 parent 06df8fa commit 49667e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grocker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class GrockerDeprecationWarning(Warning):
pass


if tuple(sys.version_info[:2]) in ((3, 4), (3, 5)):
if tuple(sys.version_info[:2]) in ((2, 7), (3, 4), (3, 5)):
warnings.warn(
"Support for 3.4 and 3.5 will be dropped in next major version",
"Support for 2.7, 3.4 and 3.5 will be dropped in next major version",
category=GrockerDeprecationWarning,
)

0 comments on commit 49667e4

Please sign in to comment.