Skip to content

Commit 79c5a91

Browse files
committed
[Linters] Disable PyLint rule R1710 (inconsistent-return-statements) on function 'retry()' used by 'pcluster_dcv_authenticator' to verify session existence.
Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent 89299e7 commit 79c5a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
logger = logging.getLogger(__name__)
4040

4141

42-
def retry(func, func_args, attempts=1, wait=0):
42+
def retry(func, func_args, attempts=1, wait=0): # pylint: disable=R1710
4343
"""
4444
Call function and re-execute it if it raises an Exception.
4545

0 commit comments

Comments
 (0)