Skip to content

Commit 171b092

Browse files
committed
Merge remote-tracking branch 'origin/master' into edge
2 parents 4a1dd69 + 8c0a2b5 commit 171b092

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

mig/server/grid_cron.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# --- BEGIN_HEADER ---
55
#
66
# 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
88
#
99
# This file is part of MiG.
1010
#
@@ -203,10 +203,10 @@ def __init__(
203203
):
204204
"""Constructor"""
205205

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)
210210

211211
def __update_crontab_monitor(
212212
self,
@@ -373,13 +373,13 @@ def __cron_err(configuration, client_id, msg):
373373
__cron_log(configuration, client_id, msg, 'error')
374374

375375

376-
def __cron_warn(configuration, client_id, msg):
376+
def __cron_warn(configuration, client_id, msg):
377377
"""Wrapper to send a single warning msg to client_id cron log"""
378378

379379
__cron_log(configuration, client_id, msg, 'warning')
380380

381381

382-
def __cron_info(configuration, client_id, msg):
382+
def __cron_info(configuration, client_id, msg):
383383
"""Wrapper to send a single info msg to client_id cron log"""
384384

385385
__cron_log(configuration, client_id, msg, 'info')

mig/shared/output.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def txt_format(configuration, ret_val, ret_msg, out_obj):
364364
header = [['ID', 'Path']]
365365
optional_cols = [('access', 'Access'), ('created', 'Created'),
366366
('active', 'Active'), ('owner', 'Owner'),
367-
('invites', 'Invites'), ('expire', 'Expire'),
367+
('invites', 'Invites'), ('expire', 'Expire'),
368368
('single_file', 'Single file'),
369369
]
370370
content_keys = ['share_id', 'path']
@@ -2740,8 +2740,8 @@ def file_format(configuration, ret_val, ret_msg, out_obj):
27402740
content_type = val
27412741
if content_type in ('text/plain', 'text/html'):
27422742
render_text, render_errors = True, True
2743-
_logger.debug("render output in file_format: %s (%s %s)" %
2744-
(out_obj, render_text, render_errors))
2743+
#_logger.debug("render output in file_format: %s (%s %s)" %
2744+
# (out_obj, render_text, render_errors))
27452745
for entry in out_obj:
27462746
if entry['object_type'] == 'file_output':
27472747
for line in entry['lines']:

0 commit comments

Comments
 (0)