From e7970eb74a25efbd0523c198354246d53674c8ce Mon Sep 17 00:00:00 2001 From: Alexander Tischenko Date: Sat, 18 Apr 2020 00:21:24 +0300 Subject: [PATCH 1/2] Update README.md Due to unavailability of CI server remove images temporary --- README.md | 26 -------------------------- 1 file changed, 26 deletions(-) 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 ============================= From b5a4c24a2abd110dad7bac284a60f1ad88725c7a Mon Sep 17 00:00:00 2001 From: SergBobrovsky Date: Wed, 22 Apr 2020 14:24:45 +0300 Subject: [PATCH 2/2] refactor Assign.getChildren, Assign.getChildNodes WTF? --- pony/thirdparty/compiler/ast.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pony/thirdparty/compiler/ast.py b/pony/thirdparty/compiler/ast.py index e5596d4b6..396996aae 100644 --- a/pony/thirdparty/compiler/ast.py +++ b/pony/thirdparty/compiler/ast.py @@ -176,14 +176,12 @@ def __init__(self, nodes, expr, lineno=None): self.lineno = lineno def getChildren(self): - children = [] - children.extend(flatten(self.nodes)) + children = flatten(self.nodes) children.append(self.expr) return tuple(children) def getChildNodes(self): - nodelist = [] - nodelist.extend(flatten_nodes(self.nodes)) + nodelist = flatten_nodes(self.nodes) nodelist.append(self.expr) return tuple(nodelist)