ssh-pexpect backend syntax error

Bug #1844950 reported by az on 2019-09-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

this is a forward of debian bug #940986, which lives over there:

a debian user reports that pypy3 rejects the ssh-pexpect backend file with the error message
Failed to byte-compile /usr/lib/python3/dist-packages/duplicity/backends/ File "/usr/lib/python3/dist-packages/duplicity/backends/", line 52
    global pexpect
SyntaxError: name 'pexpect' is assigned to before global declaration

as far as i understand matters the "global pexpect" statement should precede the "import pexpect"; with that small change made byte-compilation succeeds.

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.8.05
status: New → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers