Mercurial > libervia-backend
comparison sat_frontends/bridge/dbus_bridge.py @ 3242:6d0137022df2
bridge (dbus): fixed typo in log.warning
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 01 Apr 2020 15:32:18 +0200 |
parents | ae09989e9feb |
children | 6cf4bd6972c2 |
comparison
equal
deleted
inserted
replaced
3241:46f0b388eeea | 3242:6d0137022df2 |
---|---|
125 args.append(kwargs.pop('profile_key')) | 125 args.append(kwargs.pop('profile_key')) |
126 except KeyError: | 126 except KeyError: |
127 pass | 127 pass |
128 # at this point, kwargs should be empty | 128 # at this point, kwargs should be empty |
129 if kwargs: | 129 if kwargs: |
130 log.warnings("unexpected keyword arguments, they will be ignored: {}".format(kwargs)) | 130 log.warning("unexpected keyword arguments, they will be ignored: {}".format(kwargs)) |
131 elif len(args) >= 2 and callable(args[-1]) and callable(args[-2]): | 131 elif len(args) >= 2 and callable(args[-1]) and callable(args[-2]): |
132 async_ = True | 132 async_ = True |
133 _errback = args.pop() | 133 _errback = args.pop() |
134 _callback = args.pop() | 134 _callback = args.pop() |
135 | 135 |