Re: typo in D-Bus spec?
Felipe Gasper <felipe-c4PQK5fb7feI/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
> On Feb 13, 2019, at 9:52 PM, Lawrence D'Oliveiro <[email protected]> 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 _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus