]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Added get_distro() to misc.py
authorSandon Van Ness <sandon@inktank.com>
Thu, 25 Jul 2013 21:45:02 +0000 (14:45 -0700)
committerSandon Van Ness <sandon@inktank.com>
Thu, 25 Jul 2013 21:45:02 +0000 (14:45 -0700)
commit810cca1daf3ff2fc83106e776f46e059811bb28a
tree41ff2a3e4cb07c26cdc04651cb304d800bf0fade
parent57933b6f92df63ea1ecbc859df524f79c6340bac
Added get_distro() to misc.py

Since getting the ostype is used multiple places I made a
function for it and modified the existing code to use
said function. I also added tests for the function.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/lock.py
teuthology/misc.py
teuthology/run.py
teuthology/test/test_get_distro.py [new file with mode: 0644]