[meld] build_helpers: Use distutils output helper
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] build_helpers: Use distutils output helper
- Date: Sat, 17 May 2014 22:50:10 +0000 (UTC)
commit 9a2ac4de3018b079ae621d45d8b13492f2ed9ed1
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun May 18 08:20:27 2014 +1000
build_helpers: Use distutils output helper
meld/build_helpers.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index 2786652..d0440dd 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -27,6 +27,8 @@ import distutils.dir_util
import glob
import os.path
+from distutils.log import info
+
def has_help(self):
return "build_help" in self.distribution.cmdclass and os.name != 'nt'
@@ -151,7 +153,7 @@ class build_help(distutils.cmd.Command):
for page in pages:
page_path = os.path.join(build_path, page)
if not os.path.exists(page_path):
- print("Skipping missing file", page_path)
+ info("skipping missing file %s", page_path)
continue
lint = ['xmllint', '--noout', '--noent', '--path', build_path,
'--xinclude', page_path]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]