summaryrefslogtreecommitdiff
path: root/giscanner/annotationparser.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-04-28 15:25:53 -0300
committerJohan Dahlin <johan@gnome.org>2010-04-28 15:25:53 -0300
commit72f63c149132056655840e00c53119802f72a8bf (patch)
treed5da2561e1eaa76bd95d60ec60c5559c10954bb3 /giscanner/annotationparser.py
parent24711bc9ee6073fd77c99f10fa3d90e7e108af24 (diff)
[annotationparser] Disable warning
Diffstat (limited to 'giscanner/annotationparser.py')
-rw-r--r--giscanner/annotationparser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index a4ba6fb..3480ac7 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -506,8 +506,9 @@ class AnnotationApplier(object):
if param.name == tag:
break
else:
- print 'WARNING: annotation for "%s" refers to unknown ' \
- 'argument "%s"' % (parent.name, tag)
+ return
+ #print 'WARNING: annotation for "%s" refers to unknown ' \
+ # 'argument "%s"' % (parent.name, tag)
def _parse_params(self, parent, params, block):
self._check_arg_annotations(parent, params, block)