commit 32bd5877e7f1fdd41cd4698d999dddbab53b8e27
Author: Thibaut Cuvelier <[email protected]>
Date: Mon Sep 27 15:36:09 2021 +0200
DocBook: make copier compatible with Python 2.
---
lib/scripts/docbook_copy.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/scripts/docbook_copy.py b/lib/scripts/docbook_copy.py
index 8148b85..d2e4fe0 100644
--- a/lib/scripts/docbook_copy.py
+++ b/lib/scripts/docbook_copy.py
@@ -154,7 +154,6 @@ class DocBookCopier:
shutil.copyfile(
os.path.join(in_generated_images_folder, img),
os.path.join(out_generated_images_folder, img),
- follow_symlinks=False,
)
def copy(self):
@@ -164,7 +163,7 @@ class DocBookCopier:
self.call_lilypond()
# Perform the actual copy: both the modified XML file and the
generated images, if LilyPond is used.
- shutil.copyfile(self.in_file, self.out_file, follow_symlinks=False)
+ shutil.copyfile(self.in_file, self.out_file)
if self.do_lilypond_processing:
self.copy_lilypond_generated_images()
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs