Commit cd9a3408 authored by owsla's avatar owsla

Fix Python 2.2 compatibility.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1023 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 2f5c24e2
New in v1.2.7 (????/??/??) New in v1.2.7 (????/??/??)
--------------------------- ---------------------------
Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson)
Fix typo which caused failure when checking if another rdiff-backup process is Fix typo which caused failure when checking if another rdiff-backup process is
running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson) running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# Until rdiff-backup is ported to Python 3 (or abandons support for versions # Until rdiff-backup is ported to Python 3 (or abandons support for versions
# below Python 2.5), we'll ignore the warning about the deprecated sha module # below Python 2.5), we'll ignore the warning about the deprecated sha module
import warnings import warnings
warnings.simplefilter('ignore') warnings.filterwarnings("ignore", ".*sha module.*", DeprecationWarning)
import sha import sha
import Globals import Globals
......
New in v1.3.2 (????/??/??) New in v1.3.2 (????/??/??)
--------------------------- ---------------------------
Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson)
Fix typo which caused failure when checking if another rdiff-backup process is Fix typo which caused failure when checking if another rdiff-backup process is
running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson) running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# Until rdiff-backup is ported to Python 3 (or abandons support for versions # Until rdiff-backup is ported to Python 3 (or abandons support for versions
# below Python 2.5), we'll ignore the warning about the deprecated sha module # below Python 2.5), we'll ignore the warning about the deprecated sha module
import warnings import warnings
warnings.simplefilter('ignore') warnings.filterwarnings("ignore", ".*sha module.*", DeprecationWarning)
import sha import sha
import Globals import Globals
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment