[gobject-introspection/wip/transformer] major: fix assert
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/transformer] major: fix assert
- Date: Thu, 19 Aug 2010 16:51:31 +0000 (UTC)
commit 5ec9e2a5d3f09c4e71408c82e1dfed43cd284149
Author: Colin Walters <walters verbum org>
Date: Thu Aug 19 12:52:51 2010 -0400
major: fix assert
giscanner/ast.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index a76931e..ae1af8b 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -458,8 +458,7 @@ GIName. It's possible for nodes to contain or point to other nodes."""
def walk(self, callback, chain):
res = callback(self, chain)
- assert (res in (True, False),
- "Walk function must return boolean, not %r" % (res, ))
+ assert res in (True, False), "Walk function must return boolean, not %r" % (res, )
if not res:
return False
chain.append(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]