Skip to content

Commit

Permalink
fix chr to int
Browse files Browse the repository at this point in the history
Signed-off-by: dpierret <[email protected]>
  • Loading branch information
dpierret committed Nov 29, 2022
1 parent 83cae6e commit 01c9ff1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
python3-opendds (3.20.6-0) focal; urgency=medium

* change c8 from char to int

-- Dragonfly <[email protected]> Thu, 29 Nov 2022 11:43:20 +0100

python3-opendds (3.20.5-1) focal; urgency=medium

* Add python3-cmake-build-extension on depends
Expand Down
8 changes: 4 additions & 4 deletions pyopendds/dev/itl2py/PythonOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class PythonOutput(Output):
PrimitiveType.Kind.i64: ("int", "0"),
PrimitiveType.Kind.f32: ("float", "0.0"),
PrimitiveType.Kind.f64: ("float", "0.0"),
PrimitiveType.Kind.c8: ("chr", "'\\x00'"),
PrimitiveType.Kind.c16: ("str", "'\\x00'"),
PrimitiveType.Kind.s8: ("str", "''"),
PrimitiveType.Kind.s16: ("str", "''"),
PrimitiveType.Kind.c8: ("int", "0"),
PrimitiveType.Kind.c16: ("int", "00"),
PrimitiveType.Kind.s8: ("int", "''"),
PrimitiveType.Kind.s16: ("int", "''"),
}

def __init__(self, context: dict, name: str):
Expand Down
4 changes: 2 additions & 2 deletions rpmbuild/SPECS/python3-opendds.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
%define __python3 /usr/bin/python3.8

Name: python3-opendds
Version: 3.20.5
Release: 1%{?dist}
Version: 3.20.6
Release: 0%{?dist}
Summary: Setuptools extension to build and package CMake projects

License: MIT
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pyopendds
version = 3.20.5
version = 3.20.6
author = David Pierret
author_email = [email protected]
home_page = https://github.com/Sdpierret/pyopendds
Expand Down

0 comments on commit 01c9ff1

Please sign in to comment.