zephyr_mirror: Ignore expired Kerberos tickets for personals mirror.
(imported from commit 094755feacd299255f078432465f11a609df9aef)
This commit is contained in:
parent
9223f6b2e8
commit
2249b18081
2 changed files with 6 additions and 1 deletions
|
@ -680,6 +680,8 @@ returned the following warning:
|
|||
# just notify the user that they need to renew their tickets
|
||||
(code, stderr) = send_unauthed_zephyr(zwrite_args, wrapped_content)
|
||||
if code == 0:
|
||||
if options.ignore_expired_tickets:
|
||||
return
|
||||
return send_error_zulip("""%s
|
||||
|
||||
Your last message was forwarded from Zulip to Zephyr unauthenticated, \
|
||||
|
@ -941,6 +943,9 @@ def parse_args():
|
|||
parser.add_option('--sync-subscriptions',
|
||||
default=False,
|
||||
action='store_true')
|
||||
parser.add_option('--ignore-expired-tickets',
|
||||
default=False,
|
||||
action='store_true')
|
||||
parser.add_option('--site',
|
||||
default=DEFAULT_SITE,
|
||||
help=optparse.SUPPRESS_HELP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue