summaryrefslogtreecommitdiff
path: root/giscanner/transformer.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-02-07 15:25:25 -0500
committerColin Walters <walters@verbum.org>2013-02-07 15:25:53 -0500
commite9939eeb1cd0a2626b968fd72387681366ecb61b (patch)
treecdd2d6bee7c466f5c88e53d19f0c165b79946e96 /giscanner/transformer.py
parent7bdc0b75872dcff2e154d05121568de54996a947 (diff)
downloadgobject-introspection-e9939eeb1cd0a2626b968fd72387681366ecb61b.tar.gz
scanner: Fix use of undeclared variable in previous commit
Fixes the NetworkManager build.
Diffstat (limited to 'giscanner/transformer.py')
-rw-r--r--giscanner/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index 0858b8d3..d6a5f8f9 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -953,7 +953,7 @@ Note that type resolution may not succeed."""
try:
type_ = self.lookup_giname(typeval.target_giname)
except KeyError:
- typeval.target_giname = None
+ type_ = None
if type_ is None:
typeval.target_giname = None