Python3 does not use commands

Bug #1597178 reported by Yafei Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
daisycloud-core
Opinion
Undecided
KongWei

Bug Description

Python3 does not use commands, which raises ImportError: No module named 'commands'.

Revision history for this message
Zhijiang Hu (hu-zhijiang) wrote :

why this bug affects daisycloud-core?

Changed in daisycloud-core:
assignee: nobody → KongWei (kong-wei2)
Revision history for this message
Zhijiang Hu (hu-zhijiang) wrote :

Wei, please help to see if this is really a matter for us. Thanks!

Revision history for this message
KongWei (kong-wei2) wrote :

Yes.
"Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead."
We should use subprocess instead.

Revision history for this message
KongWei (kong-wei2) wrote :

I post a change to fix this bug.
https://review.openstack.org/#/c/348767/

Revision history for this message
Zhijiang Hu (hu-zhijiang) wrote :

Do we need this fix now? The patch is empty

Changed in daisycloud-core:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.