]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
use os.path.join() correctly
authorRishabh Dave <ridave@redhat.com>
Mon, 11 Mar 2019 10:20:08 +0000 (15:50 +0530)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 14 Mar 2019 22:35:12 +0000 (22:35 +0000)
commit62abe7068a8176b77b7eb94a43a5f8c5a9b4f2b4
treeb8b5f177c328ed8aa6c6b7d0a43cf142c4a9de94
parent31617afca95e9d8a7cdfa4722cc4089cdf95a709
use os.path.join() correctly

os.path.join adds the separator (i.e. '/') between the provided path
components only if needed. Providing a single path component doesn't
lead to any checks.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
library/ceph_key.py
library/test_ceph_key.py
tests/functional/tests/osd/test_osds.py