Skip to content

Commit

Permalink
parsing: fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Jan 15, 2022
1 parent 1e39e26 commit b187cd2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions suricatals/parse_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import re

from suricatals.tests_rules import TestRules

class SuricataFile:
def __init__(self, path=None, rules_tester=None):
self.path = path
Expand All @@ -17,7 +15,7 @@ def __init__(self, path=None, rules_tester=None):

def copy(self):
"""Copy content to new file object (does not copy objects)"""
copy_obj = SuricataFile(self.path, suricata_binary=self.suricata_binary)
copy_obj = SuricataFile(self.path, rules_tester=self.rules_tester)
return copy_obj

def load_from_disk(self):
Expand Down

0 comments on commit b187cd2

Please sign in to comment.