diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup/hash.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/hash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/hash.py b/rdiff-backup/rdiff_backup/hash.py index 317ad96..7758dc9 100644 --- a/rdiff-backup/rdiff_backup/hash.py +++ b/rdiff-backup/rdiff_backup/hash.py @@ -22,7 +22,7 @@ # 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 import warnings -warnings.simplefilter('ignore') +warnings.filterwarnings("ignore", ".*sha module.*", DeprecationWarning) import sha import Globals |