AttributeError: 'list' object has no attribute 'startswith' when using verify
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I am encountering the following error when running the following verify command on FreeBSD 9.1-RELEASE:
/usr/local/
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
action = commandline.
File "/usr/local/
backup, local_pathname = set_backend(
File "/usr/local/
globals.backend = backend.
File "/usr/local/
return _backends[
File "/usr/local/
self.
File "/usr/local/
if not path.startswith
AttributeError: 'list' object has no attribute 'startswith'
I was able to get this working by inserting the following between lines 158 and 159 of _ssh_paramiko.py
if isinstance( self.config[ 'identityfile' ], list):
self. config[ 'identityfile' ] = self.config[ 'identityfile' ][0]