[lldbtest] Simplify removing an unneeded else. NFCI.

llvm-svn: 316355
This commit is contained in:
Davide Italiano 2017-10-23 17:51:22 +00:00
parent 6bda996cab
commit 9e03e17df1
1 changed files with 1 additions and 2 deletions

View File

@ -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