bugfix: remove unused functions; correct for wrong formatting (PEP)

This commit is contained in:
sebastianw committed 2023-04-23 22:05:11 +02:00
1 parent c468bfbe84
commit 9fce4998d3
3 files changed
+7 -73

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
from obspy import UTCDateTime
from obspy.core import event as ope
from pylot.core.util.utils import getLogin, get_hash
from pylot.core.util.utils import get_login, get_hash
def create_amplitude(pickID, amp, unit, category, cinfo):
@@ -61,7 +61,7 @@ def create_creation_info(agency_id=None, creation_time=None, author=None):
:return:
'''
if author is None:
author = getLogin()
author = get_login()
if creation_time is None:
creation_time = UTCDateTime()
return ope.CreationInfo(agency_id=agency_id, author=author,