|
4 | 4 | # --- BEGIN_HEADER ---
|
5 | 5 | #
|
6 | 6 | # grid_cron - daemon to monitor user crontabs and trigger actions
|
7 |
| -# Copyright (C) 2003-2023 The MiG Project lead by Brian Vinter |
| 7 | +# Copyright (C) 2003-2024 The MiG Project lead by Brian Vinter |
8 | 8 | #
|
9 | 9 | # This file is part of MiG.
|
10 | 10 | #
|
@@ -203,10 +203,10 @@ def __init__(
|
203 | 203 | ):
|
204 | 204 | """Constructor"""
|
205 | 205 |
|
206 |
| - PatternMatchingEventHandler.__init__(self, patterns, |
207 |
| - ignore_patterns, |
208 |
| - ignore_directories, |
209 |
| - case_sensitive) |
| 206 | + PatternMatchingEventHandler.__init__( |
| 207 | + self, patterns=patterns, ignore_patterns=ignore_patterns, |
| 208 | + ignore_directories=ignore_directories, |
| 209 | + case_sensitive=case_sensitive) |
210 | 210 |
|
211 | 211 | def __update_crontab_monitor(
|
212 | 212 | self,
|
@@ -373,13 +373,13 @@ def __cron_err(configuration, client_id, msg):
|
373 | 373 | __cron_log(configuration, client_id, msg, 'error')
|
374 | 374 |
|
375 | 375 |
|
376 |
| -def __cron_warn(configuration, client_id, msg): |
| 376 | +def __cron_warn(configuration, client_id, msg): |
377 | 377 | """Wrapper to send a single warning msg to client_id cron log"""
|
378 | 378 |
|
379 | 379 | __cron_log(configuration, client_id, msg, 'warning')
|
380 | 380 |
|
381 | 381 |
|
382 |
| -def __cron_info(configuration, client_id, msg): |
| 382 | +def __cron_info(configuration, client_id, msg): |
383 | 383 | """Wrapper to send a single info msg to client_id cron log"""
|
384 | 384 |
|
385 | 385 | __cron_log(configuration, client_id, msg, 'info')
|
|
0 commit comments