projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Monkey patch the source to work with gevent
[snf-image-creator]
/
image_creator
/
dialog_main.py
diff --git
a/image_creator/dialog_main.py
b/image_creator/dialog_main.py
index
f9dd260
..
db08968
100644
(file)
--- a/
image_creator/dialog_main.py
+++ b/
image_creator/dialog_main.py
@@
-33,6
+33,9
@@
# interpreted as representing official policies, either expressed
# or implied, of GRNET S.A.
+import gevent.monkey # Monkey-patch everything for gevent early on
+gevent.monkey.patch_all()
+
import dialog
import sys
import os