(self, arg)
| 158 | self.elements[-1].AddSeparator() |
| 159 | |
| 160 | def _Quote(self, arg): |
| 161 | if arg.startswith('--') and '=' in arg: |
| 162 | prefix, value = arg.split('=', 1) |
| 163 | return shlex.quote(prefix) + '=' + shlex.quote(value) |
| 164 | return shlex.quote(arg) |
| 165 | |
| 166 | def GetCommand(self, include_separators=True): |
| 167 | """Returns the command representing the trace up to this point. |