]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Clean up remote.py and misc.py changes. 243/head
authorWarren Usui <warren.usui@inktank.com>
Thu, 24 Apr 2014 22:56:41 +0000 (15:56 -0700)
committerZack Cerza <zack@cerza.org>
Tue, 29 Apr 2014 21:14:11 +0000 (16:14 -0500)
commit74eff43ee1a2b73159277370cfa9d194e42bf49c
tree91c9c43ee303c6446b4b1b3ec876c22a1a4e0ec9
parent257e1459fa064701d789f0ad54384bb80b45e6d9
Clean up remote.py and misc.py changes.

Fixed method names to be non-redundant (remote_mktemp in remote is
now just mktemp, for example), and made some parameters be more
self descriptive.  Added some docstrings.  Fixed sudo setting in
get_file method.

Made chmod independent of the actual sftp file getting.
Do not do extra file copy if non-sudo read is needed.
Fixed some parameter names. Made sure temp files are removed.
teuthology/misc.py
teuthology/orchestra/remote.py
teuthology/task/kernel.py