aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/mutual_friends.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-10 10:12:01 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-10 10:12:01 +0300
commit129cc8e6e916533ff51a5d65721cf904542a1c27 (patch)
tree67c85c362b756ffcc46f509b299319959c1ff2fa /bin/mutual_friends.py
parentfix licensing notices (diff)
downloadvk-scripts-129cc8e6e916533ff51a5d65721cf904542a1c27.tar.gz
vk-scripts-129cc8e6e916533ff51a5d65721cf904542a1c27.zip
fix Pylint warnings
Diffstat (limited to '')
-rw-r--r--bin/mutual_friends.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mutual_friends.py b/bin/mutual_friends.py
index 8e6e584..29f92d9 100644
--- a/bin/mutual_friends.py
+++ b/bin/mutual_friends.py
@@ -70,11 +70,11 @@ class OutputFormat(Enum):
else:
raise NotImplementedError('unsupported output format: ' + str(self))
-def _parse_output_format(s):
+def _parse_output_format(src):
try:
- return OutputFormat(s)
+ return OutputFormat(src)
except ValueError:
- raise argparse.ArgumentTypeError('invalid output format: ' + s)
+ raise argparse.ArgumentTypeError('invalid output format: ' + src)
def _parse_args(args=sys.argv):
parser = argparse.ArgumentParser(