Skip to content

Commit

Permalink
Common: Correct header to most recent version, sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
voetberg committed Aug 5, 2024
1 parent 4a0ad31 commit d6ba22c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions common/check_expired_locked_rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2012-2024 CERN
# Copyright European Organization for Nuclear Research (CERN) since 2012
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,26 +12,22 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Authors:
# - Cedric Serfon, <[email protected]>, 2015
# - Donata Mielaikaite, <[email protected]>, 2020
# - Eric Vaandering, <[email protected]>, 2020
# - Maggie Voetberg <[email protected]>, 2024


'''
"""
Probe to check the locked expired rules or datasets with locked rules
'''
"""

from collections import defaultdict
import datetime
import sys
import traceback
from sqlalchemy import select, and_
from sqlalchemy.sql import true, null
from collections import defaultdict

from sqlalchemy import and_, select
from sqlalchemy.sql import null, true

from rucio.db.sqla import models, session

from utils.common import PrometheusPusher

# Exit statuses
Expand Down

0 comments on commit d6ba22c

Please sign in to comment.