Skip to content

UnboundLocalError in generate_key.py #554

@rishubhjain

Description

@rishubhjain

In file generate_key.py when runner.run() throws error (https://github.com/Tendrl/commons/blob/develop/tendrl/commons/utils/ssh/generate_key.py#L55) the except section doesn't assign value to out variable and hence causes error at:
https://github.com/Tendrl/commons/blob/develop/tendrl/commons/utils/ssh/generate_key.py#L66

I feel this is a bug and will submit its patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions