[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.38.0-55-g0ad799e
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:26:04 CET 2014
The branch, build-baikal has been updated
via 0ad799ebedfd89d9e6c327d94c23df77037743bc (commit)
from e067379844bcb8ec2af325e458fa2aaa2d16e4a4 (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/backends/printing/_file.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/x2go/backends/printing/_file.py b/x2go/backends/printing/_file.py
index 913e738..7a8f9f8 100644
--- a/x2go/backends/printing/_file.py
+++ b/x2go/backends/printing/_file.py
@@ -109,10 +109,16 @@ class X2goClientPrintingFILE(inifiles.X2goIniFile):
self._print_action = printactions.X2goPrintActionPRINTCMD(client_instance=self.client_instance, print_cmd=_print_command, logger=self.logger)
@property
- def print_action(self):
+ def print_action(self, reinit=False, return_name=False):
"""\
Return the print action described by the »Bprinting« configuration file.
"""
- return self._print_action
+ if reinit:
+ self._detect_printaction()
+
+ if return_name:
+ return self._print_action.__name__
+ else:
+ return self._print_action
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