diff options
author | Donghoon Shin <dhs.shine@gmail.com> | 2017-02-16 15:28:00 +0900 |
---|---|---|
committer | Donghoon Shin <dhs.shine@gmail.com> | 2017-02-16 15:28:00 +0900 |
commit | 0d98a1c9b2682dde45196c8a3c8e89738aa3ab2a (patch) | |
tree | 1c8908a2f55659330165906cf8b38ec69cc5f798 | |
parent | 63041918a865e5fec64e06ae7e178ce63d9e7c2b (diff) | |
download | litmus-0d98a1c9b2682dde45196c8a3c8e89738aa3ab2a.tar.gz litmus-0d98a1c9b2682dde45196c8a3c8e89738aa3ab2a.tar.bz2 litmus-0d98a1c9b2682dde45196c8a3c8e89738aa3ab2a.zip |
Raise exception if sdb does not exist0.3.5
-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 |