chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdfc47
)
Support different identity file structures
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 10 Apr 2014 12:57:16 +0000
(13:57 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 10 Apr 2014 12:57:16 +0000
(13:57 +0100)
Something to do with vagrant/paramiko versioning.
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 1635352949e06ee37cdbe9dd3e18da27afe8569f..c65703c364047cf2462cba0e732dba878e0b7bd2 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-160,7
+160,9
@@
def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
sshs = paramiko.SSHClient()
sshs.set_missing_host_key_policy(paramiko.AutoAddPolicy())
idfile = sshconfig['identityfile']
- if idfile.startswith('"') and idfile.endswith('"'):
+ if isinstance(idfile, list):
+ idfile = idfile[0]
+ elif idfile.startswith('"') and idfile.endswith('"'):
idfile = idfile[1:-1]
sshs.connect(sshconfig['hostname'], username=sshconfig['user'],
port=int(sshconfig['port']), timeout=300, look_for_keys=False,