Warning, file /pilot2/pilot/user/generic/proxy.py was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 import logging
0013 logger = logging.getLogger(__name__)
0014
0015
0016 def verify_proxy(limit=None):
0017 """
0018 Check for a valid voms/grid proxy longer than N hours.
0019 Use `limit` to set required time limit.
0020
0021 :param limit: time limit in hours (int).
0022 :return: exit code (NOPROXY or NOVOMSPROXY), diagnostics (error diagnostics string).
0023 """
0024
0025 return 0, ""