summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index cc1e97286ba..c72b8277052 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1371,10 +1371,9 @@ class Base(unittest2.TestCase):
self.dumpSessionInfo()."""
arch = self.getArchitecture()
comp = self.getCompiler()
+ option_str = ""
if arch:
option_str = "-A " + arch
- else:
- option_str = ""
if comp:
option_str += " -C " + comp
return option_str
OpenPOWER on IntegriCloud