Pretty print the run options for dumpSessionInfo(self) client.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138466 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbtest.py b/test/lldbtest.py
index 6951780..314f788 100644
--- a/test/lldbtest.py
+++ b/test/lldbtest.py
@@ -777,11 +777,13 @@
         self.dumpSessionInfo()."""
         arch = self.getArchitecture()
         comp = self.getCompiler()
-        if not arch and not comp:
-            return ""
+        if arch:
+            option_str = "-A " + arch
         else:
-            return "%s %s" % ("-A "+arch if arch else "",
-                              "-C "+comp if comp else "")
+            option_str = ""
+        if comp:
+            option_str += "-C " + comp
+        return option_str
 
     # ==================================================
     # Build methods supported through a plugin interface