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:
Nikolay Dachev 2020-12-10 23:43:03 +02:00 committed by GitHub
parent 649809b2be
commit 6c618cab26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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