[sysadmin-bin] fix category check
- From: Olav Vitters <ovitters src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] fix category check
- Date: Sun, 3 Aug 2014 08:27:52 +0000 (UTC)
commit a2037a27952ddbd62b5daeffb445628563e3e148
Author: Olav Vitters <olav vitters nl>
Date: Sun Aug 3 10:27:49 2014 +0200
fix category check
git/validate-doap | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/validate-doap b/git/validate-doap
index 1456e46..ff7cfc4 100755
--- a/git/validate-doap
+++ b/git/validate-doap
@@ -78,7 +78,7 @@ for node in nodes:
if not is_resource(group):
die("Invalid doap:category property (should be an URL)")
- if group.startswith(GNOME) or group[len(GNOME):] not in valid_groups:
+ if not group.startswith(GNOME) or group[len(GNOME):] not in valid_groups:
die("doap:category property should be one of: %s" % ",".join(sorted(valid_groups)))
# doap files should have enough fields
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]