[sysadmin-bin] fix property check



commit 1c900be0b3ece62899540678cbcab6fa7483f8ba
Author: Olav Vitters <olav vitters nl>
Date:   Sun Aug 3 10:28:21 2014 +0200

    fix property check

 git/validate-doap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/validate-doap b/git/validate-doap
index ff7cfc4..cef8b6c 100755
--- a/git/validate-doap
+++ b/git/validate-doap
@@ -89,7 +89,7 @@ for node in nodes:
     # ensure required string literal properties exist
     for prop in required_literal_properties:
         prop_value = node.find_property((DOAP, ))
-        if not prog_value or not is_literal(prog_value):
+        if not prop_value or not is_literal(prop_value):
             die("%s property is required and should be a string literal" % prop)
 
     have_maintainer = False


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]