diff options
author | Donghoon Shin <dhs.shin@samsung.com> | 2017-02-16 15:33:49 +0900 |
---|---|---|
committer | Donghoon Shin <dhs.shin@samsung.com> | 2017-02-16 15:33:49 +0900 |
commit | a5fc02e333219a787dfb5fe5a505546a018afd1b (patch) | |
tree | 1c8908a2f55659330165906cf8b38ec69cc5f798 | |
parent | 3d9e7f228b21a9f97e174fb34581792c0f1bdd00 (diff) | |
download | litmus-a5fc02e333219a787dfb5fe5a505546a018afd1b.tar.gz litmus-a5fc02e333219a787dfb5fe5a505546a018afd1b.tar.bz2 litmus-a5fc02e333219a787dfb5fe5a505546a018afd1b.zip |
Raise exception if sdb does not existupstream/0.3.5submit/trunk/20200409.200220submit/trunk/20200409.194520submit/trunk/20200105.092001submit/trunk/20200104.134833submit/trunk/20200104.111033submit/trunk/20191101.102136submit/trunk/20191030.112603submit/trunk/20191017.233826submit/trunk/20191017.111201submit/trunk/20190927.012842submit/devel/20190730.074622accepted/tizen/devbase/tools/20200106.014324accepted/tizen/devbase/tools/20200104.060126accepted/tizen/devbase/tools/20190927.044901accepted/tizen_devbase_tools
Change-Id: Ib0b756bdf3bdd9247c54b2eea1324094ea203b6c
-rw-r--r-- | litmus/cmds/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/cmds/__init__.py b/litmus/cmds/__init__.py index f5b387b..1053c24 100644 --- a/litmus/cmds/__init__.py +++ b/litmus/cmds/__init__.py @@ -32,7 +32,7 @@ def load_project_list(projects): def sdb_does_exist(): help_url = 'https://github.com/dhs-shine/litmus#prerequisite' try: - call('sdb version', shell=True, timeout=10) + call(['sdb', 'version'], timeout=10) except FileNotFoundError: raise Exception('Please install sdb. Refer to {}'.format(help_url)) return |