rt 3.0.5__tar.gz → 3.0.6__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.
Files changed (36) hide show
  1. {rt-3.0.5 → rt-3.0.6}/CHANGELOG.md +4 -0
  2. {rt-3.0.5 → rt-3.0.6}/PKG-INFO +1 -1
  3. {rt-3.0.5 → rt-3.0.6}/rt/rest1.py +1 -1
  4. {rt-3.0.5 → rt-3.0.6}/rt.egg-info/PKG-INFO +1 -1
  5. {rt-3.0.5 → rt-3.0.6}/.editorconfig +0 -0
  6. {rt-3.0.5 → rt-3.0.6}/.flake8 +0 -0
  7. {rt-3.0.5 → rt-3.0.6}/.pylintrc +0 -0
  8. {rt-3.0.5 → rt-3.0.6}/AUTHORS +0 -0
  9. {rt-3.0.5 → rt-3.0.6}/LICENSE +0 -0
  10. {rt-3.0.5 → rt-3.0.6}/MANIFEST.in +0 -0
  11. {rt-3.0.5 → rt-3.0.6}/README.rst +0 -0
  12. {rt-3.0.5 → rt-3.0.6}/doc/Makefile +0 -0
  13. {rt-3.0.5 → rt-3.0.6}/doc/changelog.rst +0 -0
  14. {rt-3.0.5 → rt-3.0.6}/doc/conf.py +0 -0
  15. {rt-3.0.5 → rt-3.0.6}/doc/exceptions.rst +0 -0
  16. {rt-3.0.5 → rt-3.0.6}/doc/glossary.rst +0 -0
  17. {rt-3.0.5 → rt-3.0.6}/doc/index.rst +0 -0
  18. {rt-3.0.5 → rt-3.0.6}/doc/rest1.rst +0 -0
  19. {rt-3.0.5 → rt-3.0.6}/doc/rest2.rst +0 -0
  20. {rt-3.0.5 → rt-3.0.6}/doc/usage.rst +0 -0
  21. {rt-3.0.5 → rt-3.0.6}/pyproject.toml +0 -0
  22. {rt-3.0.5 → rt-3.0.6}/rt/__init__.py +0 -0
  23. {rt-3.0.5 → rt-3.0.6}/rt/exceptions.py +0 -0
  24. {rt-3.0.5 → rt-3.0.6}/rt/py.typed +0 -0
  25. {rt-3.0.5 → rt-3.0.6}/rt/rest2.py +0 -0
  26. {rt-3.0.5 → rt-3.0.6}/rt.egg-info/SOURCES.txt +0 -0
  27. {rt-3.0.5 → rt-3.0.6}/rt.egg-info/dependency_links.txt +0 -0
  28. {rt-3.0.5 → rt-3.0.6}/rt.egg-info/requires.txt +0 -0
  29. {rt-3.0.5 → rt-3.0.6}/rt.egg-info/top_level.txt +0 -0
  30. {rt-3.0.5 → rt-3.0.6}/setup.cfg +0 -0
  31. {rt-3.0.5 → rt-3.0.6}/setup.py +0 -0
  32. {rt-3.0.5 → rt-3.0.6}/tests/__init__.py +0 -0
  33. {rt-3.0.5 → rt-3.0.6}/tests/conftest.py +0 -0
  34. {rt-3.0.5 → rt-3.0.6}/tests/test_basic.py +0 -0
  35. {rt-3.0.5 → rt-3.0.6}/tests/test_rest1.py +0 -0
  36. {rt-3.0.5 → rt-3.0.6}/tests/test_tickets.py +0 -0
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [v3.0.6], 2023-06-21
7
+ ### Added
8
+ - Fixed bug in rest1 (#86)
9
+
6
10
  ## [v3.0.5], 2023-02-02
7
11
  ### Added
8
12
  - Added support for specifying custom fields on user creation/edit (#82).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rt
3
- Version: 3.0.5
3
+ Version: 3.0.6
4
4
  Summary: Python interface to Request Tracker API
5
5
  Author-email: Georges Toth <georges.toth@govcert.etat.lu>
6
6
  License: GNU General Public License v3 (GPLv3)
@@ -268,7 +268,7 @@ class Rt:
268
268
  if self.RE_PATTERNS['syntax_error_pattern'].match(msg[0]):
269
269
  raise APISyntaxError(msg[2][2:] if len(msg) > 2 else 'Syntax error.')
270
270
  if self.RE_PATTERNS['bad_request_pattern'].match(msg[0]):
271
- raise BadRequestError(msg[3] if len(msg) > 2 else 'Bad request.')
271
+ raise BadRequestError(msg[2] if len(msg) > 2 else 'Bad request.')
272
272
 
273
273
  @staticmethod
274
274
  def __normalize_list(msg: typing.Union[str, typing.Sequence[str]]) -> typing.Sequence[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rt
3
- Version: 3.0.5
3
+ Version: 3.0.6
4
4
  Summary: Python interface to Request Tracker API
5
5
  Author-email: Georges Toth <georges.toth@govcert.etat.lu>
6
6
  License: GNU General Public License v3 (GPLv3)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes