Skip to content

Commit

Permalink
Release v1.2.0
Browse files Browse the repository at this point in the history
* fixed typo in CHANGELOG date
* fixed bad CHANGELOG dates
* fixed ambiguous variable name in Daikon trace writer
* fixed f-string without placeholders
  • Loading branch information
ChrisTimperley committed May 27, 2020
1 parent 9f23809 commit 9b6c051
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 1.2.0 (????-??-??)
# 1.2.0 (2020-05-27)

* Moved methods in `substitution` module into `ArgumentResolver` class.
* Added handling of executables and resources for `$(find ...)` commands.
Expand All @@ -16,7 +16,7 @@
* Removed `launch` method from `ROSCore`. Replaced with `roslaunch`.


# 1.1.0 (2020-23-04)
# 1.1.0 (2020-04-23)

* Bug fix: Updated `proxy.substitution` module to use DockerBlade API
* Containers will now raise a `SourceNotFoundError` if a given source does
Expand All @@ -41,7 +41,7 @@
* Removed `client_docker` property from `ROSWire`.


# 1.0.0 (2020-31-03)
# 1.0.0 (2020-03-31)

* Added `ports` keyword argument to `launch` method for `ROSWire`, allowing
users to specify an optional container-host port mapping.
Expand Down
2 changes: 1 addition & 1 deletion src/roswire/bag/daikon.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def add(self, ppt: GenericProgramPoint, vals: Mapping[str, Any]) -> None:
else:
str_val = str(var_val)
lines += [var_name, str_val, '1']
fp.writelines(f'{l}\n' for l in lines)
fp.writelines(f'{line}\n' for line in lines)
fp.write('\n')

def close(self) -> None:
Expand Down
4 changes: 2 additions & 2 deletions src/roswire/definitions/msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
R_VAL = r".+"
R_COMMENT = r"(#.*)?"
R_FIELD = re.compile(f"^\s*({R_TYPE})\s+({R_NAME})\s*{R_COMMENT}$")
R_STRING_CONSTANT = re.compile(f"^\s*string\s+(\w+)\s*=\s*(.+)\s*$")
R_OTHER_CONSTANT = re.compile(f"^\s*(\w+)\s+(\w+)\s*=\s*([^\s]+).*$")
R_STRING_CONSTANT = re.compile("^\s*string\s+(\w+)\s*=\s*(.+)\s*$")
R_OTHER_CONSTANT = re.compile("^\s*(\w+)\s+(\w+)\s*=\s*([^\s]+).*$")
R_BLANK = re.compile(f"^\s*{R_COMMENT}$")

ConstantValue = Union[str, int, float]
Expand Down

0 comments on commit 9b6c051

Please sign in to comment.