From: Oleg Broytman Date: Mon, 10 Mar 2014 20:20:27 +0000 (+0400) Subject: Rename get_opt to get_opts X-Git-Tag: v2.5.0~29 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=fa2d7bb797e9f0735f299cd19192ac3782475a96;p=mimedecode.git Rename get_opt to get_opts --- diff --git a/mimedecode.py b/mimedecode.py index 8971efa..6428171 100755 --- a/mimedecode.py +++ b/mimedecode.py @@ -398,7 +398,7 @@ class GlobalOptions: gopts = GlobalOptions -def get_opt(): +def get_opts(): from getopt import getopt, GetoptError try: @@ -463,7 +463,7 @@ def get_opt(): if __name__ == "__main__": - arguments = get_opt() + arguments = get_opts() la = len(arguments) if la == 0: