local variable 'distro' referenced before assignment

Bug #1865171 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ssh-import-id
Fix Released
Critical
Unassigned

Bug Description

Commit 9b01c13e4c6a7 under bug 1864107 did:

    distro = "/".join(distro.linux_distribution())

which defines and uses distro in the same line. :-(

That causes:

    $ python3 -m ssh_import_id smoser --output=-
    2020-02-28 10:38:21,423 ERROR local variable 'distro' referenced before assignment

Revision history for this message
Scott Moser (smoser) wrote :

Fixed in 2e6eba0ab28b32d211bebb58163b0c6b8c190e08

Changed in ssh-import-id:
status: New → Confirmed
importance: Undecided → Critical
status: Confirmed → Fix Committed
Scott Moser (smoser)
Changed in ssh-import-id:
status: Fix Committed → Fix Released
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.