Skip to content

Commit

Permalink
Adds python 3.9 checks to flare.py and flare_external_requests.py (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Kasaboski <mark.kasaboski@gmail.com>
  • Loading branch information
markkasaboski and Mark Kasaboski authored Feb 10, 2025
1 parent c2132f7 commit 9285034
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
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
8 changes: 7 additions & 1 deletion packages/flare/bin/flare_external_requests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import sys


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


import json
import os
import splunk
import sys

from urllib import parse

Expand Down

0 comments on commit 9285034

Please sign in to comment.