The branch, build-baikal has been updated via 866e7a3f2f2452df0de7e6021a7eaeca406e7f76 (commit) from b69db1263fb8876b4598f8e8e3807572e7fcae9c (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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) The diff of changes is: diff --git a/x2go/printactions.py b/x2go/printactions.py index 130de95..77130b0 100644 --- a/x2go/printactions.py +++ b/x2go/printactions.py @@ -231,6 +231,8 @@ class X2goPrintActionPDFSAVE(X2goPrintAction): if save_to_folder is None: save_to_folder = os.path.expanduser(defaults.DEFAULT_PDFSAVE_LOCATION) self.save_to_folder = save_to_folder + if not os.path.exists(self.save_to_folder): + os.makedirs(self.save_to_folder, mode=0755) X2goPrintAction.__init__(self, client_instance=client_instance, logger=None, loglevel=loglevel) def do_print(self, pdf_file, job_title, spool_dir): @@ -248,12 +250,6 @@ class X2goPrintActionPDFSAVE(X2goPrintAction): dest_file = self._humanreadable_filename(pdf_file, job_title, target_path=self.save_to_folder) shutil.copy2(pdf_file, dest_file) - # this is nasty!!!! - self.logger('waiting 20s longer before deleting the PDF file ,,%s\'\'' % _hr_filename, loglevel=log.loglevel_DEBUG) - time.sleep(20) - try: os.remove(_hr_filename) - except OSError: pass - class X2goPrintActionPRINT(X2goPrintAction): """\ 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).