From 3499b3f09bc65020a44e6f25d45ad1ba0c3ccb5e Mon Sep 17 00:00:00 2001 From: Bryan Marfito Date: Wed, 24 Mar 2021 06:21:44 +0800 Subject: [PATCH] Update fetchOrbit.py --- contrib/stack/topsStack/fetchOrbit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/stack/topsStack/fetchOrbit.py b/contrib/stack/topsStack/fetchOrbit.py index 3b31f6b..a8e065e 100755 --- a/contrib/stack/topsStack/fetchOrbit.py +++ b/contrib/stack/topsStack/fetchOrbit.py @@ -151,7 +151,7 @@ if __name__ == '__main__': elif oType == 'restituted': end_date = fileTS else: - throw ValueError("Unexpected orbit type: '" + oType + "'") + raise ValueError("Unexpected orbit type: '" + oType + "'") url = server + spec[1] + str(end_date.year).zfill(2) + '/' + str(end_date.month).zfill(2) + \ '/' + str(end_date.day).zfill(2) + '/'