From 5905f4eeca77f9aff680f9c01b6df50c8453f5af Mon Sep 17 00:00:00 2001 From: Jamie Cockburn Date: Thu, 22 Nov 2018 17:16:13 +0000 Subject: [PATCH] re #2 - Whoops! --- pyptables/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyptables/__init__.py b/pyptables/__init__.py index 6dae4c1..9e1184d 100644 --- a/pyptables/__init__.py +++ b/pyptables/__init__.py @@ -94,7 +94,7 @@ def add_line_numbers(string, start=1): def restore(tables): process = subprocess.Popen( - ["cat"], + ["iptables-restore"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, diff --git a/setup.py b/setup.py index 6c6f5b5..71678f1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name='PyPTables', - version='1.0.5', + version='1.0.6', author='Jamie Cockburn', author_email='jamie_cockburn@hotmail.co.uk', packages=setuptools.find_packages(),