mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Update tupkg to use hashlib instead of md5 directly.
Reported-by: Imanol Celaya <ilcra1989@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
f12b11abc7
commit
b8f86c505b
1 changed files with 2 additions and 1 deletions
|
@ -19,10 +19,11 @@ import struct
|
||||||
import os.path
|
import os.path
|
||||||
import cgi
|
import cgi
|
||||||
import urllib
|
import urllib
|
||||||
import md5
|
|
||||||
import getopt
|
import getopt
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
|
|
||||||
|
from hashlib import md5
|
||||||
|
|
||||||
class ClientFile:
|
class ClientFile:
|
||||||
def __init__(self, pathname):
|
def __init__(self, pathname):
|
||||||
self.pathname = pathname
|
self.pathname = pathname
|
||||||
|
|
Loading…
Add table
Reference in a new issue