Univention Bugzilla – Attachment 10124 Details for
Bug 49865
Regression: remove_s4_rejected.py aborts with traceback
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
regression.patch
regression.patch (text/plain), 1.04 KB, created by
Arvid Requate
on 2019-07-17 13:57:18 CEST
(
hide
)
Description:
regression.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2019-07-17 13:57:18 CEST
Size:
1.04 KB
patch
obsolete
>diff --git a/services/univention-s4-connector/scripts/remove_ucs_rejected.py b/services/univention-s4-connector/scripts/remove_ucs_rejected.py >index dc26e9ba75..18a7dcc982 100755 >--- a/services/univention-s4-connector/scripts/remove_ucs_rejected.py >+++ b/services/univention-s4-connector/scripts/remove_ucs_rejected.py >@@ -44,7 +44,7 @@ class ObjectNotFound(BaseException): > def remove_ucs_rejected(ucs_dn): > cache_db = sqlite3.connect('/etc/univention/connector/s4internal.sqlite') > c = cache_db.cursor() >- c.execute("SELECT key FROM 'UCS rejected' WHERE value=?" % [unicode(ucs_dn)]) >+ c.execute("SELECT key FROM 'UCS rejected' WHERE value=?", [unicode(ucs_dn)]) > filenames = c.fetchall() > if not filenames: > raise ObjectNotFound >@@ -52,7 +52,7 @@ def remove_ucs_rejected(ucs_dn): > if filename: > if os.path.exists(filename[0]): > os.remove(filename[0]) >- c.execute("DELETE FROM 'UCS rejected' WHERE value=?" % [unicode(ucs_dn)]) >+ c.execute("DELETE FROM 'UCS rejected' WHERE value=?", [unicode(ucs_dn)]) > cache_db.commit() > cache_db.close() >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49865
: 10124