protobin 0.0.22__tar.gz → 0.0.23__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: protobin
3
- Version: 0.0.22
3
+ Version: 0.0.23
4
4
  Summary: Python library for encode and decode data in protobin format
5
5
  Project-URL: Homepage, https://github.com/drmelectronic/protobin-python
6
6
  Project-URL: Bug Tracker, https://github.com/drmelectronic/protobin-python/issues
@@ -88,7 +88,7 @@ class Protocol:
88
88
  for name in formats.keys():
89
89
  format = formats[name]
90
90
  if format.get('header') in self.headers:
91
- raise FormatError(f'The "{format['header']}" header is already in use at "{self.headers[format["header"]]}"')
91
+ raise FormatError(f'The \"{format["header"]}\" header is already in use at \"{self.headers[format["header"]]}\"')
92
92
  self.formats[name] = Format(name=name, format=format, server=self.server)
93
93
  if 'header' in format:
94
94
  self.headers[format['header']] = name
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "protobin"
7
- version = "0.0.22"
7
+ version = "0.0.23"
8
8
  authors = [
9
9
  { name="Daniel Robles", email="drm.electronic@gmail.com" },
10
10
  ]
@@ -530,14 +530,14 @@ report:
530
530
  'test': {'bytes': 0, 'type': 'string'}
531
531
  }}}
532
532
  },
533
- 'bits': {
534
- "header": "B",
535
- "fields": {'test': {'type': 'bits'}}
536
- },
537
- 'bits_fixed': {
538
- "header": "B",
539
- "fields": {'test': {'type': 'bits', 'length': 7}}
540
- }}
533
+ 'bits': {
534
+ "header": "B",
535
+ "fields": {'test': {'type': 'bits'}}
536
+ },
537
+ 'bits_fixed': {
538
+ "header": "B",
539
+ "fields": {'test': {'type': 'bits', 'length': 7}}
540
+ }}
541
541
  })
542
542
 
543
543
  def test_teltonika_login_hex(self):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes