projects
/
nmutil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956dbea
)
use prefix where it exists
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Jun 2020 18:23:41 +0000
(19:23 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Jun 2020 18:23:41 +0000
(19:23 +0100)
src/nmutil/iocontrol.py
patch
|
blob
|
history
diff --git
a/src/nmutil/iocontrol.py
b/src/nmutil/iocontrol.py
index 917e1058e3268731604777ac8505b065e44a917b..f83d315b092bdd41935881a10ffde09d22369f56 100644
(file)
--- a/
src/nmutil/iocontrol.py
+++ b/
src/nmutil/iocontrol.py
@@
-107,7
+107,7
@@
class RecordObject(Record):
print (self, self.name, v.name)
v.name = prefix + v.name
elif isinstance(v, Record):
- add_prefix_to_record_signals(
self.name + "_"
, v)
+ add_prefix_to_record_signals(
prefix
, v)
self.fields[k] = v
#print ("RecordObject setattr", k, v)