aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/mutual_friends.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 21:12:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 21:12:40 +0300
commitf53205cdf147185e7001aaf9b0d724abc14dad7f (patch)
treea924f1492c42fe9e2362e2b52cfdea03a7f5539d /bin/mutual_friends.py
parentREADME update (diff)
downloadvk-scripts-f53205cdf147185e7001aaf9b0d724abc14dad7f.tar.gz
vk-scripts-f53205cdf147185e7001aaf9b0d724abc14dad7f.zip
revert most of the recent Pylint fixes
I know better how to name my things.
Diffstat (limited to 'bin/mutual_friends.py')
-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 29f92d9..8e6e584 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(src):
+def _parse_output_format(s):
try:
- return OutputFormat(src)
+ return OutputFormat(s)
except ValueError:
- raise argparse.ArgumentTypeError('invalid output format: ' + src)
+ raise argparse.ArgumentTypeError('invalid output format: ' + s)
def _parse_args(args=sys.argv):
parser = argparse.ArgumentParser(