mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 14:07:25 +00:00
resolve some codacy problems
This commit is contained in:
parent
d16b28ce4f
commit
6b520881b6
5 changed files with 3 additions and 5 deletions
|
|
@ -44,7 +44,6 @@ def processAlarmHandler(typ, freq, data):
|
|||
except:
|
||||
logging.error("Error in starting alarm processing async")
|
||||
logging.debug("Error in starting alarm processing async", exc_info=True)
|
||||
pass
|
||||
else:
|
||||
processAlarm(typ, freq, data)
|
||||
|
||||
|
|
@ -98,4 +97,3 @@ def processAlarm(typ, freq, data):
|
|||
except:
|
||||
logging.error("Error in alarm processing")
|
||||
logging.debug("Error in alarm processing", exc_info=True)
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ def decode(freq, decoded):
|
|||
except:
|
||||
logging.error("processing alarm failed")
|
||||
logging.debug("processing alarm failed", exc_info=True)
|
||||
pass
|
||||
# in every time save old data for double alarm
|
||||
doubleFilter.newEntry(fms_id)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ def decode(freq, decoded):
|
|||
except:
|
||||
logging.error("processing alarm failed")
|
||||
logging.debug("processing alarm failed", exc_info=True)
|
||||
pass
|
||||
# in every time save old data for double alarm
|
||||
doubleFilter.newEntry(poc_id+poc_sub, poc_text)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ def decode(freq, decoded):
|
|||
except:
|
||||
logging.error("processing alarm failed")
|
||||
logging.debug("processing alarm failed", exc_info=True)
|
||||
pass
|
||||
# in every time save old data for double alarm
|
||||
doubleFilter.newEntry(zvei_id)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue