containers / podman-py

Python bindings for Podman's RESTful API
Apache License 2.0
247 stars 88 forks source link

Fix Pylint E0606 for undefined variable after else #392

Closed inknos closed 3 months ago

inknos commented 3 months ago

Description is trivial: old_toml_file is undefined in the else block.

cevich commented 3 months ago

@umohnani8 @jwhonce PTAL

rhatdan commented 3 months ago

Thanks @inknos /approve /lgtm

openshift-ci[bot] commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cevich, inknos, rhatdan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/containers/podman-py/blob/main/OWNERS)~~ [rhatdan] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment