diff options
author | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:39:53 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:39:53 -0700 |
commit | 7a41434dd56e0eed13d7692d7172a82dc91b2e7f (patch) | |
tree | bee6acaeebadf5e2f0194279dea178fa6e4cf980 /leapsecond.py | |
parent | 248137759243a0a8d8d11a8fd568286e4b2f4c49 (diff) | |
download | gpsd-7a41434dd56e0eed13d7692d7172a82dc91b2e7f.tar.gz |
leapsecond.py: pep8 cleanup.
Note the program pep8 is now called pycodestyle
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-x | leapsecond.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/leapsecond.py b/leapsecond.py index 3ab10e07..b3793790 100755 --- a/leapsecond.py +++ b/leapsecond.py @@ -124,6 +124,7 @@ def isotime(s): # *** End of duplicated code *** + verbose = 0 __locations = [ @@ -432,6 +433,7 @@ def usage(): print(__doc__) raise SystemExit(0) + if __name__ == '__main__': import getopt (options, arguments) = getopt.getopt(sys.argv[1:], "hvf:g:H:i:n:o:I:O:") |