Skip to content

Commit

Permalink
Remove unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigc committed Jan 3, 2018
1 parent 532c54d commit b561b51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/twisted/python/_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ def _checkPythonVersion():
"""
Fail if we detect a version of Python we don't support.
"""
import sys

version = getattr(sys, "version_info", (0,))
if version < (2, 7):
raise ImportError("Twisted requires Python 2.7 or later.")
Expand Down

0 comments on commit b561b51

Please sign in to comment.