diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/hash.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/hash.py b/rdiff-backup/rdiff_backup/hash.py index 0279f70..317ad96 100644 --- a/rdiff-backup/rdiff_backup/hash.py +++ b/rdiff-backup/rdiff_backup/hash.py @@ -19,6 +19,11 @@ """Contains a file wrapper that returns a hash on close""" +# 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') + import sha import Globals |