File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
"""
13
13
14
14
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
15
- __version__ = '2021101301 '
15
+ __version__ = '2021110901 '
16
16
17
17
import collections
18
18
import datetime
@@ -690,8 +690,8 @@ def parse_atom(atom, default):
690
690
return (True , True ^ invert )
691
691
692
692
693
- def md5sum (string ):
694
- return hashlib .md5 (string ).hexdigest ()
693
+ def sha1sum (string ):
694
+ return hashlib .sha1 (string ).hexdigest ()
695
695
696
696
697
697
def mltext2array (input , skip_header = False , sort_key = - 1 ):
Original file line number Diff line number Diff line change 12
12
"""
13
13
14
14
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
15
- __version__ = '2021091701 '
15
+ __version__ = '2021110901 '
16
16
17
17
import collections
18
18
import datetime
@@ -685,8 +685,8 @@ def parse_atom(atom, default):
685
685
return (True , True ^ invert )
686
686
687
687
688
- def md5sum (string ):
689
- return hashlib .md5 (string .encode ('utf-8' )).hexdigest ()
688
+ def sha1sum (string ):
689
+ return hashlib .sha1 (string .encode ('utf-8' )).hexdigest ()
690
690
691
691
692
692
def mltext2array (input , skip_header = False , sort_key = - 1 ):
You can’t perform that action at this time.
0 commit comments