Skip to content

Commit

Permalink
Version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielT committed Aug 27, 2023
1 parent d0202f3 commit 0c24d04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "py-autosar-data"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
description = "read, write and modify Autosar arxml data using Python"
authors = ["Daniel Thaler <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
version = "0.2.0"
version = "0.3.0"
description = "read, write and modify Autosar arxml data using Python"
authors = [{name="Daniel Thaler", email="[email protected]"}]
readme = "README.md"
Expand Down
5 changes: 1 addition & 4 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ impl AutosarModel {
filename: &str,
strict: bool,
) -> PyResult<(ArxmlFile, Vec<String>)> {
match self
.0
.load_buffer(buffer.as_bytes(), filename, strict)
{
match self.0.load_buffer(buffer.as_bytes(), filename, strict) {
Ok((file, warn)) => {
let warnstrings: Vec<String> = warn.iter().map(|w| w.to_string()).collect();
Ok((ArxmlFile(file), warnstrings))
Expand Down

0 comments on commit 0c24d04

Please sign in to comment.