projects
/
tools
/
litmus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6304191
)
Raise exception if sdb does not exist
0.3.5
author
Donghoon Shin
<dhs.shine@gmail.com>
Thu, 16 Feb 2017 06:28:00 +0000
(15:28 +0900)
committer
Donghoon Shin
<dhs.shine@gmail.com>
Thu, 16 Feb 2017 06:28:00 +0000
(15:28 +0900)
litmus/cmds/__init__.py
patch
|
blob
|
history
diff --git
a/litmus/cmds/__init__.py
b/litmus/cmds/__init__.py
index f5b387b9cdfecf07be6970b145833d9e5a83b209..1053c24f9fc87a290eb325b7d11c807147616df1 100644
(file)
--- 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