Univention Bugzilla – Attachment 10056 Details for
Bug 49609
join-script 40ucs-school-import-http-api will fail due to issue with 'import logging'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
enclose import with try:except:pass
logging.py.patch (text/plain), 367 bytes, created by
Nico Stöckigt
on 2019-06-07 11:17:03 CEST
(
hide
)
Description:
enclose import with try:except:pass
Filename:
MIME Type:
Creator:
Nico Stöckigt
Created:
2019-06-07 11:17:03 CEST
Size:
367 bytes
patch
obsolete
>--- logging.py 2019-06-05 14:59:54.099785331 +0200 >+++ logging.py.b 2019-06-05 14:58:47.288176614 +0200 >@@ -32,7 +32,13 @@ > """ > > from __future__ import absolute_import >-import logging >+ >+try: >+ import logging >+except ImportError as ex: >+ print(ex) >+ pass >+ > from ucsschool.lib.models.utils import get_file_handler, UniFileHandler, UniStreamHandler > > try:
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 49609
: 10056