Skip to content

Commit

Permalink
KPMP-5665: uncomment slack stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Dec 17, 2024
1 parent 0cf3e44 commit 607bc8e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions scripts/packageChecker/packageChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,22 +119,22 @@ def find_empty_packages(self, move_derived=False):
extra_files_csv.close()
if len(empty_package_list) > 0:
message = "Missing files in packages: " + ', '.join(empty_package_list)
# requests.post(
# slack_url,
# headers={'Content-type': 'application/json', },
# data='{"text":"' + message + '"}')
requests.post(
slack_url,
headers={'Content-type': 'application/json', },
data='{"text":"' + message + '"}')
if len(missing_package_list) > 0:
message = "Missing package directories for packages: " + ', '.join(missing_package_list)
# requests.post(
# slack_url,
# headers={'Content-type': 'application/json', },
# data='{"text":"' + message + '"}')
requests.post(
slack_url,
headers={'Content-type': 'application/json', },
data='{"text":"' + message + '"}')
if len(extra_package_list) > 0:
message = "Extra files for packages: " + ', '.join(extra_package_list)
# requests.post(
# slack_url,
# headers={'Content-type': 'application/json', },
# data='{"text":"' + message + '"}')
requests.post(
slack_url,
headers={'Content-type': 'application/json', },
data='{"text":"' + message + '"}')

def move_file_to_derived(self, package_directory, file_name):
derived_dir = package_directory + "/derived"
Expand Down

0 comments on commit 607bc8e

Please sign in to comment.