[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.1.4-121-g8cfeead

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:28:55 CET 2014


The branch, build-baikal has been updated
       via  8cfeeadf4e47660f6f4123915c91a326eade3256 (commit)
      from  f6eae3f1599dd39cd7fe4628b1d28e0f8d288def (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 |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/printactions.py b/x2go/printactions.py
index 8227284..6dcf0cb 100644
--- a/x2go/printactions.py
+++ b/x2go/printactions.py
@@ -33,6 +33,7 @@ import os
 import shutil
 import copy
 import time
+import gevent
 
 from defaults import X2GOCLIENT_OS as _X2GOCLIENT_OS
 if _X2GOCLIENT_OS in ("Windows"):
@@ -490,7 +491,7 @@ class X2goPrintActionDIALOG(X2goPrintAction):
             raise x2go_exceptions.X2goPrintActionException('the DIALOG print action needs to know the X2goClient instance (client=<instance>)')
         X2goPrintAction.__init__(self, client_instance=client_instance, logger=logger, loglevel=loglevel)
 
-    def do_print(self, pdf_file, job_title, spool_dir):
+    def _do_print(self, pdf_file, job_title, spool_dir):
         """\
         Execute an external command that has been defined on construction 
         of this L{X2goPrintActionPRINTCMD} instance.
@@ -506,5 +507,5 @@ class X2goPrintActionDIALOG(X2goPrintAction):
         self.logger('Session %s (%s) is calling X2goClient class hook method <client_instance>.HOOK_open_print_dialog' % (self.session_name, self.profile_name), loglevel=log.loglevel_NOTICE)
         _new_print_action = self.client_instance.HOOK_open_print_dialog(profile_name=self.profile_name, session_name=self.session_name)
         if type(_new_print_action) != type(self):
-            _new_print_action.do_print(pdf_file, job_title, spool_dir)
+            _new_print_action._do_print(pdf_file, job_title, spool_dir)
 


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