Skip to content

Commit

Permalink
Adds python 3.9 checks to flare.py and flare_external_requests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kasaboski committed Feb 10, 2025
1 parent c2132f7 commit a30b6a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/flare/bin/flare.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import sys


if sys.version_info < (3, 9):
sys.exit("Error: This application requires Python 3.9 or higher.")


import requests
import time

Expand Down
5 changes: 5 additions & 0 deletions packages/flare/bin/flare_external_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
import splunk
import sys


if sys.version_info < (3, 9):
sys.exit("Error: This application requires Python 3.9 or higher.")


from urllib import parse


Expand Down

0 comments on commit a30b6a4

Please sign in to comment.