openmainframeproject / feilong

Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
https://www.openmainframeproject.org/projects/feilong
Apache License 2.0
36 stars 70 forks source link

Avoid error of variable referenced before assignment #841

Closed zhshuj closed 2 months ago

zhshuj commented 2 months ago

There are possibility of error local variable 'codes' referenced before assignment this commit is to fix it.

zhshuj commented 2 months ago

@jichenjc @SeanHQF @bjhuangr could you please review?