Update copyright and remove unneeded file

This commit is contained in:
Dan Srebnick 2018-02-21 12:22:48 -05:00
parent 38d066b26e
commit 03022336f5
2 changed files with 2 additions and 29 deletions

View File

@ -6,7 +6,7 @@
##
## See /usr/local/share/noaacap/CHANGELOG for change history
##
version = "0.9"
version = "0.9.1"
import sys
import pytz
@ -29,7 +29,7 @@ if len(sys.argv) == 2 and sys.argv[1] == '-v':
print("noaacap.py by K2DLS, version " + version + "\n")
print("A weather alert beacon exec for aprx >= 2.9")
print("Licensed under the BSD 2 Clause license")
print("Copyright 2017 by Daniel L. Srebnick\n")
print("Copyright 2017-2018 by Daniel L. Srebnick\n")
sys.exit(0)
# We need this function early in execution

View File

@ -1,27 +0,0 @@
*** /dev/null
--- /dev/null
***************
*** 9
- version = "0.9"
--- 9 -----
+ version = "0.8"
***************
*** 90,95
- try:
- r = requests.get(url, timeout=2)
- except requests.exceptions.Timeout:
- log.error("Timeout exception requesting " + url)
- ErrExit()
-
--- 90 -----
+ r = requests.get(url)
***************
*** 260,265
- try:
- rs = requests.get(entries[i].id.string, timeout=2)
- except requests.exceptions.Timeout:
- log.error("Timeout exception requesting " + url)
- ErrExit()
-
--- 255 -----
+ rs = requests.get(entries[i].id.string)