Commit 345c0b98 authored by Alon Levy's avatar Alon Levy

scripts/xspice: fix --cgdb

parent a596303c
......@@ -27,9 +27,9 @@ def which(x):
return candidate
return None
cgdb = which('cgdb') and os.path.exists(
cgdb = which('cgdb') if os.path.exists(
'')) else None
def add_boolean(flag, *args, **kw):
parser.add_argument(flag, action='store_const', const='1', default='0',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment