Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

schema with colons brakes the library #106

Open
albertogeniola opened this issue Sep 15, 2016 · 0 comments
Open

schema with colons brakes the library #106

albertogeniola opened this issue Sep 15, 2016 · 0 comments
Assignees
Labels

Comments

@albertogeniola
Copy link

Hi all,

I want to report that a schema is saved without any attention to "special chars", things get broken. I discovered it by saving schema names with the associated BSSID. The library does not complain when saving the schema, so colons are reported in /etc/network/interfaces.
However, any further invocation of schema.find() will throw an exception: "need more than 1 value to unpack".

This happens because interface file is parsed without any special handling for colons.

My quick workaround at this time is to replace colons with underscores.

@melvyn-sopacua melvyn-sopacua self-assigned this Aug 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants