mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
casless_string: added format() method
This commit is contained in:
parent
a4bff161aa
commit
c5b884cf81
@ -243,3 +243,6 @@ class caseless_string(str):
|
||||
if isinstance(basestring, other):
|
||||
other = other.lower()
|
||||
return cmp(self.lower(), other)
|
||||
|
||||
def format(self, *args, **kwargs):
|
||||
return caseless_string(super(caseless_string, self).format(*args, **kwargs))
|
||||
|
Loading…
x
Reference in New Issue
Block a user