correct name on RecordObject
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 01:13:50 +0000 (02:13 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 01:13:50 +0000 (02:13 +0100)
src/nmutil/iocontrol.py

index 0e2810b5e9a58abd97bfaea1929bcae5baa67283..af46d25ab5171b4b0db964887199c7ce7ff6362a 100644 (file)
@@ -134,7 +134,7 @@ class Object:
 
 class RecordObject(Record):
     def __init__(self, layout=None, name=None):
-        Record.__init__(self, layout=layout or [], name=None)
+        Record.__init__(self, layout=layout or [], name=name)
 
     def __setattr__(self, k, v):
         #print (dir(Record))