Remove dead or useless code
This commit is contained in:
parent
9935e038fc
commit
ac33ceb579
41 changed files with 15 additions and 80 deletions
|
|
@ -3,7 +3,6 @@
|
|||
# PYTHON STUFFS #######################################################
|
||||
|
||||
import re
|
||||
import sys
|
||||
from datetime import datetime, timezone
|
||||
import shlex
|
||||
|
||||
|
|
@ -147,7 +146,7 @@ def replace_variables(cnts, msg=None):
|
|||
resultCnt.append(cnt)
|
||||
|
||||
for u in sorted(set(unsetCnt), reverse=True):
|
||||
k = msg.args.pop(u)
|
||||
msg.args.pop(u)
|
||||
|
||||
return resultCnt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue