[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.36.1-20-gfdd7a2b
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:25:58 CET 2014
The branch, build-baikal has been updated
via fdd7a2b63ae59a19dc18ea9b30a429b457444cac (commit)
from cae0b417df0d75b7685e73c7900cb71b10790106 (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 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/x2go/printactions.py b/x2go/printactions.py
index 4908413..9754afc 100644
--- a/x2go/printactions.py
+++ b/x2go/printactions.py
@@ -307,7 +307,11 @@ class X2goPrintActionPRINT(X2goPrintAction):
0
)
except win32api.error, e:
- self.HOOK_printaction_error(filename=_hr_filename, printer=_printer, err_msg=str(e), profile_name=self.profile_name, session_name=self.session_name)
+ 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)
+ else:
+ self.logger('Encountered win32api.error: %s' % str(e), loglevel=log.loglevel_ERROR)
+
else:
_hr_filename = self._humanreadable_filename(pdf_file, job_title, spool_dir)
self.logger('printing incoming PDF file %s' % _hr_filename, loglevel=log.loglevel_NOTICE)
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