]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 3 Feb 2023 03:27:54 +0000 (03:27 +0000)
commite26a01a48c4a6ca6f9424ced72eda68e6eb1e7e3
tree0b737c2c7bb565fd37e1967cbe9bebd08c6209b5
parentb2a2eeb6f99a7e10412317964de1d50802f4ddf4
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.

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
pidl/lib/Parse/Pidl/Samba4/Python.pm