reformatting code to meet coding conventions

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-18 16:13:11 +02:00
parent f4f744e22c
commit 0b6fbd22c5

View File

@ -307,14 +307,13 @@ class PilotDataStructure(GenericDataStructure):
'''
def __init__(self, **fields):
if not fields:
fields = {'database':'2006.01',
'root':'/data/Egelados/EVENT_DATA/LOCAL'}
fields = {'database': '2006.01',
'root': '/data/Egelados/EVENT_DATA/LOCAL'}
GenericDataStructure.__init__(self, **fields)
self.setExpandFields(['root','database'])
self.setExpandFields(['root', 'database'])
class SeiscompDataStructure(GenericDataStructure):
@ -331,7 +330,6 @@ class SeiscompDataStructure(GenericDataStructure):
filesuffix=None, **kwargs):
super(GenericDataStructure, self).__init__()
edate = UTCDateTime()
halfyear = UTCDateTime('1970-07-01')
sdate = UTCDateTime(edate - halfyear)