pidl: avoid py compile issues with --pidl-developer
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 8 Dec 2022 21:36:30 +0000 (10:36 +1300)
committerJule Anger <janger@samba.org>
Fri, 30 Jun 2023 12:44:07 +0000 (12:44 +0000)
commitc366a064c8fc72af5a531de3f567253bcbb86d7a
tree74697a842e01c4c75a4d70d272e2f14aacfc4964
parent88c24655c7966af129b679535f181c7779ce0eef
pidl: avoid py compile issues with --pidl-developer

We get these warnings-as-errors:

librpc/gen_ndr/py_netlogon.c:61903:53: error: stray ‘\’ in program
61903 |    PyErr_Format(PyExc_TypeError, "Expected type %s",\  //<PIDL> Parse::Pidl::Samba4::Python::ConvertObjectFromPythonData  lib/Parse/Pidl/Samba4/Python.pm:2005

but the '\' is unnecessary and unconventional anyway, since we're in a
function argument list.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15404

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Feb  3 03:27:54 UTC 2023 on atb-devel-224

(cherry picked from commit e26a01a48c4a6ca6f9424ced72eda68e6eb1e7e3)

Autobuild-User(v4-17-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-17-test): Fri Jun 30 12:44:07 UTC 2023 on sn-devel-184
pidl/lib/Parse/Pidl/Samba4/Python.pm