From b6a064bd0ff0ae8e22d4b37607ac6908f883776a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 11 Oct 2016 21:18:17 +0300 Subject: revert most of the recent Pylint fixes I know better how to name my things. --- bin/utils/cmd_line.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/utils') diff --git a/bin/utils/cmd_line.py b/bin/utils/cmd_line.py index 43f7bca..02c596c 100644 --- a/bin/utils/cmd_line.py +++ b/bin/utils/cmd_line.py @@ -5,11 +5,11 @@ import argparse -def parse_non_negative_integer(src): +def parse_non_negative_integer(s): try: - n = int(src) + n = int(s) except ValueError: - raise argparse.ArgumentTypeError('must be a non-negative integer: ' + src) + raise argparse.ArgumentTypeError('must be a non-negative integer: ' + s) if n < 0: - raise argparse.ArgumentTypeError('must be a non-negative integer: ' + src) + raise argparse.ArgumentTypeError('must be a non-negative integer: ' + s) return n -- cgit v1.2.3