[pitivi] check: Fix the length of the = bar in other languages
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] check: Fix the length of the = bar in other languages
- Date: Mon, 31 Aug 2015 12:15:37 +0000 (UTC)
commit 6a744c32a51730f5515e62e4d46b0e49fd084563
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Jul 14 11:58:36 2015 +0200
check: Fix the length of the = bar in other languages
pitivi/check.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index 0be86d9..6548aae 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -217,13 +217,14 @@ def check_requirements():
for dependency in HARD_DEPENDENCIES:
dependency.check()
- if not dependency.satisfied:
- if hard_dependencies_satisfied:
- print(
- (_("ERROR - The following hard dependencies are unmet:")))
- print("==================================================")
- print(dependency)
+ if dependency.satisfied:
+ continue
+ if hard_dependencies_satisfied:
hard_dependencies_satisfied = False
+ header = _("ERROR - The following hard dependencies are unmet:")
+ print(header)
+ print("=" * len(header))
+ print(dependency)
for dependency in SOFT_DEPENDENCIES:
dependency.check()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]