summaryrefslogtreecommitdiff
path: root/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-17 19:09:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-17 19:09:41 +0100
commiteb000da7c1daada1463cc9e32727c7e14101bbcf (patch)
tree3ccc45dbd3b03bbed493e85aaecff1c653216fc0 /net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch
parentba2d30222441005ead9c8ed8eddda29a4dec00f7 (diff)
make mrproper
Diffstat (limited to 'net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch')
-rw-r--r--net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch b/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch
deleted file mode 100644
index e91590f1..00000000
--- a/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/src/firewall/core/io/direct.py b/src/firewall/core/io/direct.py
-index b698e4c..6b80201 100644
---- a/src/firewall/core/io/direct.py
-+++ b/src/firewall/core/io/direct.py
-@@ -295,8 +295,8 @@ class Direct(IO_Object):
- if len(self.passthroughs[ipv]) == 0:
- del self.passthroughs[ipv]
- else:
-- raise ValueError, "Passthrough '%s' for ipv '%s'" % \
-- ("',".join(args), ipv) + "not in list"
-+ raise ValueError("Passthrough '%s' for ipv '%s'" % \
-+ ("',".join(args), ipv) + "not in list")
-
- def query_passthrough(self, ipv, args):
- return (ipv in self.passthroughs and args in self.passthroughs[ipv])
-@@ -305,7 +305,7 @@ class Direct(IO_Object):
- if ipv in self.passthroughs:
- return self.passthroughs[ipv]
- else:
-- raise ValueError, "No passthroughs for ipv '%s'" % (ipv)
-+ raise ValueError("No passthroughs for ipv '%s'" % (ipv))
-
- def get_all_passthroughs(self):
- return self.passthroughs