mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Fix python3 error with string.lower()
This commit is contained in:
parent
d13a401678
commit
ce5e920a7d
1 changed files with 1 additions and 2 deletions
|
|
@ -74,7 +74,6 @@
|
|||
import binascii
|
||||
import calendar
|
||||
import re
|
||||
import string
|
||||
import datetime
|
||||
import time
|
||||
|
||||
|
|
@ -1098,7 +1097,7 @@ def expected_meta_rolename(meta_rolename):
|
|||
# Raise 'securesystemslib.exceptions.FormatError' if there is a mismatch.
|
||||
securesystemslib.formats.NAME_SCHEMA.check_match(meta_rolename)
|
||||
|
||||
return string.lower(meta_rolename)
|
||||
return meta_rolename.lower()
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue