mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
fix inconsistent tab/space indentations
This commit is contained in:
parent
823f24237c
commit
98d3deb85d
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ def determineDrtOffset(timeStr):
|
||||||
# i.e. "truncate" cur_t to most recent hour.
|
# i.e. "truncate" cur_t to most recent hour.
|
||||||
if synch:
|
if synch:
|
||||||
cur_t = time.mktime((gm[0], gm[1], gm[2], gm[3], 0, 0, 0, 0, 0))
|
cur_t = time.mktime((gm[0], gm[1], gm[2], gm[3], 0, 0, 0, 0, 0))
|
||||||
curStr = '%4s%2s%2s_%2s00\n' % (repr(gm[0]),repr(gm[1]),repr(gm[2]),repr(gm[3]))
|
curStr = '%4s%2s%2s_%2s00\n' % (repr(gm[0]),repr(gm[1]),repr(gm[2]),repr(gm[3]))
|
||||||
curStr = curStr.replace(' ','0')
|
curStr = curStr.replace(' ','0')
|
||||||
launchStr = timeStr + "," + curStr
|
launchStr = timeStr + "," + curStr
|
||||||
|
|
||||||
|
|
|
@ -810,7 +810,7 @@ if __name__ == '__main__':
|
||||||
print('%s: %s' % (header_key, headers[header_key]))
|
print('%s: %s' % (header_key, headers[header_key]))
|
||||||
print()
|
print()
|
||||||
print(body)
|
print(body)
|
||||||
print('> ', end=' ')
|
print('> ', end=' ')
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
def on_connecting(self, host_and_port):
|
def on_connecting(self, host_and_port):
|
||||||
|
|
Loading…
Add table
Reference in a new issue