git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7058e21
)
python dbcheck: use real exception name
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Fri, 26 Oct 2018 06:31:26 +0000
(19:31 +1300)
committer
Douglas Bagnall
<dbagnall@samba.org>
Thu, 1 Nov 2018 04:08:12 +0000
(
05:08
+0100)
and conventional indent
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
python/samba/dbchecker.py
patch
|
blob
|
history
diff --git
a/python/samba/dbchecker.py
b/python/samba/dbchecker.py
index ecb4408eda865d96c4d6e14531595f7e4740bb52..0fb3eb225c27ca01bb0bdcc06964d1eeea7d579e 100644
(file)
--- a/
python/samba/dbchecker.py
+++ b/
python/samba/dbchecker.py
@@
-48,11
+48,11
@@
def dump_attr_values(vals):
result = ""
for value in vals:
if len(result):
- result = "," + result
+
result = "," + result
try:
- result = result + str(value)
- except UnicodeDecode:
- result = result + repr(value)
+
result = result + str(value)
+ except UnicodeDecode
Error
:
+
result = result + repr(value)
return result
class dbcheck(object):