mirror of
https://github.com/craigerl/aprsd.git
synced 2025-07-02 00:45:19 -04:00
pep8 fixes
This commit is contained in:
parent
4f87d5da12
commit
99a0f877f4
@ -33,6 +33,7 @@ def _init_timestamp():
|
|||||||
"""Build a unix style timestamp integer"""
|
"""Build a unix style timestamp integer"""
|
||||||
return int(round(time.time()))
|
return int(round(time.time()))
|
||||||
|
|
||||||
|
|
||||||
def _init_msgNo(): # noqa: N802
|
def _init_msgNo(): # noqa: N802
|
||||||
"""For some reason __post__init doesn't get called.
|
"""For some reason __post__init doesn't get called.
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ class PacketList(MutableMapping):
|
|||||||
return self.get(key)
|
return self.get(key)
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
#self.d.move_to_end(key)
|
# self.d.move_to_end(key)
|
||||||
return self.d[key]
|
return self.d[key]
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user