simple-carla 2.6.0__tar.gz → 2.6.1__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.1
2
2
  Name: simple_carla
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: An easy-to-use, object-oriented interface to the carla plugin host.
5
5
  Author-email: Leon Dionne <ldionne@dridesign.sh.cn>
6
6
  Description-Content-Type: text/markdown
@@ -19,7 +19,7 @@ sc-plugin-def = "simple_carla.scripts.sc_plugin_def:main"
19
19
  sc-plugin-info = "simple_carla.scripts.sc_plugin_info:main"
20
20
 
21
21
  [bumpver]
22
- current_version = "2.6.0"
22
+ current_version = "2.6.1"
23
23
  version_pattern = "MAJOR.MINOR.PATCH"
24
24
  commit_message = "Bump version {old_version} -> {new_version}"
25
25
  commit = true
@@ -240,7 +240,7 @@ from carla_backend import (
240
240
  )
241
241
 
242
242
 
243
- __version__ = "2.6.0"
243
+ __version__ = "2.6.1"
244
244
 
245
245
 
246
246
  # -------------------------------------------------------------------
@@ -2084,7 +2084,7 @@ class Carla(_SimpleCarla):
2084
2084
  logging.warning('Unhandled action %d', action)
2085
2085
 
2086
2086
  except Exception as e:
2087
- print(traceback.format_exc())
2087
+ logging.exception(e)
2088
2088
  if self._cb_application_error is not None:
2089
2089
  self._cb_application_error(exc_type.__name__, str(e), fname, exc_tb.tb_lineno)
2090
2090
 
@@ -278,7 +278,7 @@ class CarlaQt(_SimpleCarla, QObject):
278
278
  logging.warning('Unhandled action %d', action)
279
279
 
280
280
  except Exception as e:
281
- print(traceback.format_exc())
281
+ logging.exception(e)
282
282
  exc_type, _, exc_tb = sys.exc_info()
283
283
  fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
284
284
  self.sig_application_error.emit(exc_type.__name__, str(e), fname, exc_tb.tb_lineno)
File without changes
File without changes
File without changes