removed unused firewalld-0.3.3-rich_rule_import.patch
This commit is contained in:
parent
606593b832
commit
a56d3af167
@ -1,20 +0,0 @@
|
||||
commit f428939c42560ba3aad5c2bfa5b95bb8185d75ed
|
||||
Author: Thomas Woerner <twoerner@redhat.com>
|
||||
Date: Fri Jun 7 12:48:56 2013 +0200
|
||||
|
||||
Use Rich_Rule.check in _import_from_string
|
||||
|
||||
diff --git a/src/firewall/core/rich.py b/src/firewall/core/rich.py
|
||||
index fd27914..a643d16 100644
|
||||
--- a/src/firewall/core/rich.py
|
||||
+++ b/src/firewall/core/rich.py
|
||||
@@ -418,8 +418,7 @@ class Rich_Rule(object):
|
||||
|
||||
index = index + 1
|
||||
|
||||
- if not self.element:
|
||||
- raise FirewallError(INVALID_RULE, "no element")
|
||||
+ self.check()
|
||||
|
||||
def check(self):
|
||||
if self.family != None and self.family not in [ "ipv4", "ipv6" ]:
|
Loading…
Reference in New Issue
Block a user