mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-19 18:42:45 +08:00
Catch empty task names,
- All the tasks do not have a name.
This commit is contained in:

committed by
Chris Johns

parent
a245635a2e
commit
7a415d4e43
@@ -253,4 +253,11 @@ class control:
|
||||
|
||||
def name(self):
|
||||
is_string = information.is_string(self._id.api(), self._id._class())
|
||||
return str(name(self.object['name'], is_string))
|
||||
val = str(name(self.object['name'],is_string))
|
||||
|
||||
# Normal comaprision is a bit tricky with quotes
|
||||
# 0 '\000' in hex == '3020275c30303027'
|
||||
if val.encode('hex') == '3020275c30303027':
|
||||
val = ""
|
||||
|
||||
return val
|
Reference in New Issue
Block a user