mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
remove .id restriction for list_to_dic (#15)
* remove .id restriction for list_to_dic * add change log * Update changelogs/fragments/13-remove-id-restriction-for-api.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: dako <dako@syslin.sof.dachev.lan> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
649809b2be
commit
6c618cab26
2 changed files with 2 additions and 2 deletions
|
@ -324,8 +324,6 @@ class ROS_api_module:
|
|||
if '=' not in p:
|
||||
self.errors("missing '=' after '%s'" % p)
|
||||
p = p.split('=')
|
||||
if p[0] == 'id':
|
||||
self.errors("'%s' must be '.id'" % p[0])
|
||||
if p[1]:
|
||||
dict[p[0]] = p[1]
|
||||
return dict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue