diff --git a/MANIFEST b/MANIFEST index a73cb0c0..9ead6241 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,5 @@ README.md +README.Solaris ChangeLog TODO THANKS diff --git a/fail2ban/__init__.py b/fail2ban/__init__.py index 3de9058c..2b76f4b6 100644 --- a/fail2ban/__init__.py +++ b/fail2ban/__init__.py @@ -21,7 +21,5 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/__init__.py b/fail2ban/client/__init__.py index 3de9058c..2b76f4b6 100644 --- a/fail2ban/client/__init__.py +++ b/fail2ban/client/__init__.py @@ -21,7 +21,5 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/actionreader.py b/fail2ban/client/actionreader.py index b2573031..e59d94b7 100644 --- a/fail2ban/client/actionreader.py +++ b/fail2ban/client/actionreader.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/configparserinc.py b/fail2ban/client/configparserinc.py index a7f0fea3..13fc0dac 100644 --- a/fail2ban/client/configparserinc.py +++ b/fail2ban/client/configparserinc.py @@ -21,8 +21,6 @@ # Modified: Cyril Jaquier __author__ = 'Yaroslav Halhenko' -__revision__ = '$Revision$' -__date__ = '$Date$' __copyright__ = 'Copyright (c) 2007 Yaroslav Halchenko' __license__ = 'GPL' diff --git a/fail2ban/client/configreader.py b/fail2ban/client/configreader.py index 47b2f336..a47bc450 100644 --- a/fail2ban/client/configreader.py +++ b/fail2ban/client/configreader.py @@ -21,8 +21,6 @@ # Modified by: Yaroslav Halchenko (SafeConfigParserWithIncludes) __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/configurator.py b/fail2ban/client/configurator.py index 474d62eb..aa64704a 100644 --- a/fail2ban/client/configurator.py +++ b/fail2ban/client/configurator.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/csocket.py b/fail2ban/client/csocket.py index 28a2711f..1d522f6c 100644 --- a/fail2ban/client/csocket.py +++ b/fail2ban/client/csocket.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/fail2banreader.py b/fail2ban/client/fail2banreader.py index 73240b71..1833d763 100644 --- a/fail2ban/client/fail2banreader.py +++ b/fail2ban/client/fail2banreader.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/filterreader.py b/fail2ban/client/filterreader.py index 293a0aba..b9146f44 100644 --- a/fail2ban/client/filterreader.py +++ b/fail2ban/client/filterreader.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/jailreader.py b/fail2ban/client/jailreader.py index 2d92cdc5..26882964 100644 --- a/fail2ban/client/jailreader.py +++ b/fail2ban/client/jailreader.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/client/jailsreader.py b/fail2ban/client/jailsreader.py index 4d0ab6b6..b80be4f8 100644 --- a/fail2ban/client/jailsreader.py +++ b/fail2ban/client/jailsreader.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/helpers.py b/fail2ban/helpers.py index 3c830138..dba4c9d6 100644 --- a/fail2ban/helpers.py +++ b/fail2ban/helpers.py @@ -22,8 +22,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2009 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/protocol.py b/fail2ban/protocol.py index 4d07fb0e..48609f0b 100644 --- a/fail2ban/protocol.py +++ b/fail2ban/protocol.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/__init__.py b/fail2ban/tests/__init__.py index 3de9058c..2b76f4b6 100644 --- a/fail2ban/tests/__init__.py +++ b/fail2ban/tests/__init__.py @@ -21,7 +21,5 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/actiontestcase.py b/fail2ban/tests/actiontestcase.py index e0aaee56..a90fa5be 100644 --- a/fail2ban/tests/actiontestcase.py +++ b/fail2ban/tests/actiontestcase.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/banmanagertestcase.py b/fail2ban/tests/banmanagertestcase.py index 408c72e6..aff16883 100644 --- a/fail2ban/tests/banmanagertestcase.py +++ b/fail2ban/tests/banmanagertestcase.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/datedetectortestcase.py b/fail2ban/tests/datedetectortestcase.py index f6415907..9aea1c1f 100644 --- a/fail2ban/tests/datedetectortestcase.py +++ b/fail2ban/tests/datedetectortestcase.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/failmanagertestcase.py b/fail2ban/tests/failmanagertestcase.py index 7661079e..c2fea4fa 100644 --- a/fail2ban/tests/failmanagertestcase.py +++ b/fail2ban/tests/failmanagertestcase.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/filtertestcase.py b/fail2ban/tests/filtertestcase.py index b110431f..d59ed86d 100644 --- a/fail2ban/tests/filtertestcase.py +++ b/fail2ban/tests/filtertestcase.py @@ -497,8 +497,8 @@ def get_monitor_failures_testcase(Filter_): def _test_move_into_file(self, interim_kill=False): # if we move a new file into the location of an old (monitored) file - self.file1 = _copy_lines_between_files(GetFailures.FILENAME_01, self.name, - n=100) + _copy_lines_between_files(GetFailures.FILENAME_01, self.name, + n=100).close() # make sure that it is monitored first self.assert_correct_last_attempt(GetFailures.FAILURES_01) self.assertEqual(self.filter.failManager.getFailTotal(), 3) @@ -508,14 +508,15 @@ def get_monitor_failures_testcase(Filter_): time.sleep(0.2) # let them know # now create a new one to override old one - self.file = _copy_lines_between_files(GetFailures.FILENAME_01, - self.name + '.new', n=100) + _copy_lines_between_files(GetFailures.FILENAME_01, self.name + '.new', + n=100).close() os.rename(self.name + '.new', self.name) self.assert_correct_last_attempt(GetFailures.FAILURES_01) self.assertEqual(self.filter.failManager.getFailTotal(), 6) # and to make sure that it now monitored for changes - _copy_lines_between_files(GetFailures.FILENAME_01, self.name, n=100) + _copy_lines_between_files(GetFailures.FILENAME_01, self.name, + n=100).close() self.assert_correct_last_attempt(GetFailures.FAILURES_01) self.assertEqual(self.filter.failManager.getFailTotal(), 9) diff --git a/fail2ban/tests/servertestcase.py b/fail2ban/tests/servertestcase.py index b7e080e2..6e07eaaf 100644 --- a/fail2ban/tests/servertestcase.py +++ b/fail2ban/tests/servertestcase.py @@ -21,8 +21,6 @@ # __author__ = "Cyril Jaquier" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" diff --git a/fail2ban/tests/sockettestcase.py b/fail2ban/tests/sockettestcase.py index 8693a5cd..413d8081 100644 --- a/fail2ban/tests/sockettestcase.py +++ b/fail2ban/tests/sockettestcase.py @@ -21,8 +21,6 @@ # __author__ = "Steven Hiscocks" -__version__ = "$Revision$" -__date__ = "$Date$" __copyright__ = "Copyright (c) 2013 Steven Hiscocks" __license__ = "GPL"