diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2019-08-17 16:48:49 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2019-08-17 16:51:15 +0200 |
commit | 86e8c23988294003fc1972258de9d2e4a588adbc (patch) | |
tree | 4bdfe4fa7d89548f5e4bbfdf79270920678109f2 /wizards | |
parent | 07083030e3f6f6b1ab1b91bdb1f8a0ea72361396 (diff) |
Access2Base - access2base.py fix DebugPrint
Display basic objects
Change-Id: I45c5718d364c09d71bb6cd47171d0621fb4a00e7
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/source/access2base/access2base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wizards/source/access2base/access2base.py b/wizards/source/access2base/access2base.py index b831fcd4efca..e58f1cce9f14 100644 --- a/wizards/source/access2base/access2base.py +++ b/wizards/source/access2base/access2base.py @@ -1444,7 +1444,8 @@ Set of directly callable error handling methods def DebugPrint(*args): dargs = () for arg in args: - if isinstance(arg, _BasicObject): arg = '[' + arg.objecttype + ']' + if isinstance(arg, _BasicObject): + arg = ('[' + arg.objecttype + '] ' + arg.name).rstrip() dargs = dargs + (arg,) return _A2B.invokeMethod('DebugPrint', _WRAPPERMODULE, *dargs) def TraceConsole(): return _A2B.invokeMethod('TraceConsole', 'Trace') |