typo in D-Bus spec?
Felipe Gasper
felipe at felipegasper.com
Thu Feb 14 05:58:20 UTC 2019
> On Feb 13, 2019, at 9:52 PM, Lawrence D'Oliveiro <ldo at geek-central.gen.nz> wrote:
>
>> On Wed, 13 Feb 2019 18:51:44 -1000, Felipe Gasper wrote:
>>
>> • Interface names are composed of 1 or more elements separated by a
>> period ('.') character.
>>
>> The first line should say “composed of 2 or more” … right?
>
> That would seem to be right:
>
>>>> dbussy.validate_interface("x.", dbussy.Error())
> False
>>>> dbussy.validate_interface(".y", dbussy.Error())
> False
>>>> dbussy.validate_interface("x.y", dbussy.Error())
> True
These examples appear to fail anyway because they have empty elements.
The failure I saw was in using “generic” as an error name.
-F
More information about the dbus
mailing list