Remove duplicate namespace_prefix
This commit is contained in:
parent
26ffedc86b
commit
b2ef82e2da
@ -70,7 +70,7 @@ class Implementation:
|
||||
def __init__(self, scheme, name):
|
||||
self.scheme = scheme
|
||||
self.name = name
|
||||
|
||||
|
||||
def metadata(self):
|
||||
for i in self.scheme.metadata()['implementations']:
|
||||
if i['name'] == self.name:
|
||||
@ -79,9 +79,6 @@ class Implementation:
|
||||
def path(self, base='..') -> str:
|
||||
return os.path.join(self.scheme.path(), self.name)
|
||||
|
||||
def namespace_prefix(self):
|
||||
return 'PQCLEAN_{}_{}_'.format(self.scheme.name.upper(), self.name.upper()).replace('-', '')
|
||||
|
||||
def libname(self) -> str:
|
||||
if os.name == 'nt':
|
||||
return "lib{}_{}.lib".format(self.scheme.name, self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user