摘要:
在要开始debug的地方导入pdb: 然后触发该代码,如执行cli命令等,然后用screen打开后台就会看到如下: debug完后输入quit继续运行。 debug好之后不要忘了Remove the debugging fragment from the source file. Start the 阅读全文
摘要:
在一个继承resource2的实体里,打印self.__dict__结果是: 阅读全文
摘要:
ref: http://docs.openstack.org/developer/python-novaclient/api.html 阅读全文