diff sat/bridge/bridge_constructor/constructors/dbus/dbus_frontend_template.py @ 3208:4f00fdf11445

bridge (constructor/dbus): typo
author Goffi <goffi@goffi.org>
date Fri, 06 Mar 2020 18:19:03 +0100
parents 830fce0db15d
children be6d91572633
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/constructors/dbus/dbus_frontend_template.py	Fri Mar 06 18:19:03 2020 +0100
+++ b/sat/bridge/bridge_constructor/constructors/dbus/dbus_frontend_template.py	Fri Mar 06 18:19:03 2020 +0100
@@ -127,7 +127,7 @@
                             pass
                     # at this point, kwargs should be empty
                     if kwargs:
-                        log.warnings("unexpected keyword arguments, they will be ignored: {}".format(kwargs))
+                        log.warning("unexpected keyword arguments, they will be ignored: {}".format(kwargs))
                 elif len(args) >= 2 and callable(args[-1]) and callable(args[-2]):
                     async_ = True
                     _errback = args.pop()