Univention Bugzilla – Attachment 7432 Details for
Bug 40510
UMC Server crashes in UCS@school ucs-test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
reproducer
notifier_bug.py (text/x-python), 418 bytes, created by
Florian Best
on 2016-01-27 17:58:36 CET
(
hide
)
Description:
reproducer
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-01-27 17:58:36 CET
Size:
418 bytes
patch
obsolete
>import sys >import notifier >import subprocess >notifier.init() > >fd = None >def on_read(sock): > print 'on_read' > return True >def on_timer(): > print 'on_timer' > notifier.socket_remove(fd) > return True >p = subprocess.Popen('python -c "import sys; sys.stdin.read()"', shell=True, stdin=subprocess.PIPE) >fd = p.stdin.fileno() >notifier.socket_add(fd, on_read) >notifier.timer_add(0, on_timer) >p.communicate('A') >notifier.step()
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 Raw
Actions:
View
Attachments on
bug 40510
: 7432