Update copyright and remove unneeded file
This commit is contained in:
parent
38d066b26e
commit
03022336f5
|
|
@ -6,7 +6,7 @@
|
||||||
##
|
##
|
||||||
## See /usr/local/share/noaacap/CHANGELOG for change history
|
## See /usr/local/share/noaacap/CHANGELOG for change history
|
||||||
##
|
##
|
||||||
version = "0.9"
|
version = "0.9.1"
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pytz
|
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("noaacap.py by K2DLS, version " + version + "\n")
|
||||||
print("A weather alert beacon exec for aprx >= 2.9")
|
print("A weather alert beacon exec for aprx >= 2.9")
|
||||||
print("Licensed under the BSD 2 Clause license")
|
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)
|
sys.exit(0)
|
||||||
|
|
||||||
# We need this function early in execution
|
# We need this function early in execution
|
||||||
|
|
|
||||||
|
|
@ -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)
|
|
||||||
Loading…
Reference in New Issue