From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has submitted this change and it was merged.

Change subject: yajsonrpc: silence import-error
......................................................................


yajsonrpc: silence import-error

when running pylint checks, we get import-error message
saying module "six.moves.queue" wasn't found.
This happens because six.moves modules are added dynamically
and pylint can't handle dynamically created modules.
We can change `from six.moves.queue import Queue` to
`from six.moves import queue` and call queue.Queue() instead.

Change-Id: I4a0acd63447a4089bdeaaa316040dc45fd30eb21
Signed-off-by: Irit Goihman <[email protected]>
---
M lib/yajsonrpc/__init__.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, approved
  Nir Soffer: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Irit Goihman: Verified



-- 
To view, visit https://gerrit.ovirt.org/71143
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4a0acd63447a4089bdeaaa316040dc45fd30eb21
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Irit Goihman <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to