diff --git a/README.md b/README.md index c0f3e9eef..11e0fd9ce 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,6 @@ # Downloads [![Downloads](https://pepy.tech/badge/pony)](https://pepy.tech/project/pony) [![Downloads](https://pepy.tech/badge/pony/month)](https://pepy.tech/project/pony/month) [![Downloads](https://pepy.tech/badge/pony/week)](https://pepy.tech/project/pony/week) -# Tests - -#### PostgreSQL -Python 2 - - -Python 3 - - - -#### SQLite -Python 2 - - -Python 3 - - - -#### CockroachDB -Python 2 - - -Python 3 - - - Pony Object-Relational Mapper ============================= diff --git a/pony/thirdparty/compiler/ast.py b/pony/thirdparty/compiler/ast.py index e5596d4b6..77d2a45d9 100644 --- a/pony/thirdparty/compiler/ast.py +++ b/pony/thirdparty/compiler/ast.py @@ -245,9 +245,7 @@ def getChildren(self): return tuple(flatten(self.nodes)) def getChildNodes(self): - nodelist = [] - nodelist.extend(flatten_nodes(self.nodes)) - return tuple(nodelist) + return tuple(flatten_nodes(self.nodes)) def __repr__(self): return "Bitor(%s)" % (repr(self.nodes),)