python: Fix multiline quotes in a single line
An example case,
```python
mem_side_port = RequestPort(
"This port sends requests and " "receives responses"
)
```
This is the residue of running the python formatter.
This is done by finding all tokens matching the regex `"\s"(?![.;"])`
and manually replacing them by empty strings.
Change-Id: Icf223bbe889e5fa5749a81ef77aa6e721f38b549
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/66111
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -217,7 +217,7 @@ def addNoISAOptions(parser):
|
||||
"--maxtime",
|
||||
type=float,
|
||||
default=None,
|
||||
help="Run to the specified absolute simulated time in " "seconds",
|
||||
help="Run to the specified absolute simulated time in seconds",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-P",
|
||||
@@ -691,7 +691,7 @@ def addSEOptions(parser):
|
||||
"-o",
|
||||
"--options",
|
||||
default="",
|
||||
help="""The options to pass to the binary, use " "
|
||||
help="""The options to pass to the binary, use
|
||||
around the entire string""",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user