Skip to content

Commit

Permalink
removed py2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aparekh-crest committed Mar 19, 2024
1 parent e64774d commit 542bf46
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions maxmind_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ def finalize(self):
def initialize(self):
self._state = self.load_state()

# Fetching the Python major version
try:
self._python_version = int(sys.version_info[0])
except:
return self.set_status(phantom.APP_ERROR, "Error occurred while getting the Phantom server's Python major version.")

# custom contain for validating ipv6
self.set_validator('ipv6', self._is_ip)

Expand Down

0 comments on commit 542bf46

Please sign in to comment.