~ed.so/duplicity/gpginterface

« back to all changes in this revision

Viewing changes to duplicity/backends/_ssh_pexpect.py

  • Committer: Kenneth Loafman
  • Date: 2012-09-30 13:24:24 UTC
  • mfrom: (870.1.1 trunk)
  • Revision ID: kenneth@loafman.com-20120930132424-r8zbqr8ragw4tmqh
- Merged in lp:~ed.so/duplicity/ssh-pexpect-msgbug
  + Fixes 'UnboundLocalError: local variable 'msg' referenced before assignment'
    in _ssh_pexpect.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
            cmdloc = 0
174
174
            passprompt = 0
175
175
            while 1:
 
176
                msg = ""
176
177
                match = child.expect(responses,
177
178
                                     searchwindowsize=maxread+max_response_len)
178
179
                log.Debug("State = sftp, Before = '%s'" % (child.before.strip()))