#1984 Remove deprecated md5/sha1 constructors
Merged 5 months ago by tkopecek. Opened 5 months ago by tkopecek.
tkopecek/koji issue1491  into  master

file modified
-8

@@ -46,14 +46,6 @@ 

  

  

  # imported from kojiweb and kojihub

- def md5_constructor(*args, **kwargs):

-     deprecated("md5_constructor is deprecated in favour of hashlib.md5 and will be removed in 1.21")

-     return hashlib.md5(*args, **kwargs)

- 

- def sha1_constructor(*args, **kwargs):

-     deprecated("sha1_constructor is deprecated in favour of hashlib.md5 and will be removed in 1.21")

-     return hashlib.sha1(*args, **kwargs)

- 

  def deprecated(message):

      """Print deprecation warning"""

      with warnings.catch_warnings():

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

5 months ago

Commit 5501501 fixes this pull-request

Pull-Request has been merged by tkopecek

5 months ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

5 months ago
Metadata