[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.36.1-23-gae0bf57
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:25:58 CET 2014
The branch, build-baikal has been updated
via ae0bf57f39f2f5d56231e7c817d2834021e3edac (commit)
from efe9e59f9650acc835058df5cc5b2fc982a5e3b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
x2go/printactions.py | 1 +
x2go/utils.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/x2go/printactions.py b/x2go/printactions.py
index 9754afc..d6b4bf6 100644
--- a/x2go/printactions.py
+++ b/x2go/printactions.py
@@ -306,6 +306,7 @@ class X2goPrintActionPRINT(X2goPrintAction):
".",
0
)
+ time.sleep(20)
except win32api.error, e:
if self.client_instance:
self.client_instance.HOOK_printaction_error(filename=_hr_filename, printer=_printer, err_msg=str(e), profile_name=self.profile_name, session_name=self.session_name)
diff --git a/x2go/utils.py b/x2go/utils.py
index bd2c404..602ea98 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -31,7 +31,7 @@ import types
import copy
import paramiko
import socket
-import time
+import gevent
# Python X2go modules
from defaults import X2GOCLIENT_OS as _X2GOCLIENT_OS
@@ -277,7 +277,7 @@ def patiently_remove_file(_dir, _file):
_not_removed = False
except:
# file is probably locked
- time.sleep(5)
+ gevent.sleep(5)
def detect_unused_port(bind_address='', preferred_port=None):
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list