[gobject-introspection] Initialize value member



commit ba9ce6c5266852c4b80da7e7667946b915056ce2
Author: Colin Walters <walters verbum org>
Date:   Fri Jun 25 10:00:17 2010 -0400

    Initialize value member

 giscanner/annotationparser.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 715ffe4..03ffb54 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -107,6 +107,7 @@ class DocTag(object):
         self.name = name
         self.options = {}
         self.comment = None
+        self.value = ''
 
     def __repr__(self):
         return '<DocTag %r %r>' % (self.name, self.options)



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