[damned-lies] Do not run intltool-update -m in sub-sub-directories
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Do not run intltool-update -m in sub-sub-directories
- Date: Mon, 28 May 2018 18:35:45 +0000 (UTC)
commit e4eefca829da106e7baffb32bfa58ca3c7d029e0
Author: Claude Paroz <claude 2xlibre net>
Date: Mon May 28 20:35:18 2018 +0200
Do not run intltool-update -m in sub-sub-directories
stats/models.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index d27d22d4..c8290129 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -423,10 +423,10 @@ class Branch(models.Model):
continue
errors = []
- # 2. Pre-check, if available (intltool-update -m)
+ # 2. Pre-check, if available (e.g. intltool-update -m)
# **************************
if (dom.dtype == 'ui' and
- (not dom.pot_method or dom.pot_method == GETTEXT_METHOD)):
+ (not dom.pot_method or (dom.pot_method == GETTEXT_METHOD and '/' not in
dom.directory))):
# Run intltool-update -m to check for some errors
errors.extend(utils.check_potfiles(domain_path))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]