Skip to content

Commit

Permalink
fix: python processor modules were not working
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Mar 2, 2015
1 parent 3e9ea5f commit 081b988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pywraps/py_ua.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def get_idpdesc(self):
short processor names similar to the one in ph.psnames.
This method can be overridden to return to the kernel a different IDP description.
"""
return '\x01'.join(map(lambda t: '\x01'.join(t), zip(self.plnames, self.psnames)))
return self.plnames[0] + ':' + ':'.join(self.psnames)

def get_uFlag(self):
"""Use this utility function to retrieve the 'uFlag' global variable"""
Expand Down
2 changes: 1 addition & 1 deletion swig/ua.i
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ class processor_t(pyidc_opaque_object_t):
short processor names similar to the one in ph.psnames.
This method can be overridden to return to the kernel a different IDP description.
"""
return '\x01'.join(map(lambda t: '\x01'.join(t), zip(self.plnames, self.psnames)))
return self.plnames[0] + ':' + ':'.join(self.psnames)
def get_uFlag(self):
"""Use this utility function to retrieve the 'uFlag' global variable"""
Expand Down

0 comments on commit 081b988

Please sign in to comment.