From: Christopher Allan Webber Date: Sun, 29 Jan 2012 23:10:18 +0000 (-0600) Subject: CollectingPrinter is a class, not a function! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=245e6d83a618f524be0c71d071374ddc6da291f0;p=mediagoblin.git CollectingPrinter is a class, not a function! --- diff --git a/mediagoblin/tests/test_sql_migrations.py b/mediagoblin/tests/test_sql_migrations.py index 7a49a4a5..7dfc4b26 100644 --- a/mediagoblin/tests/test_sql_migrations.py +++ b/mediagoblin/tests/test_sql_migrations.py @@ -489,7 +489,7 @@ def _insert_migration3_objects(session): session.commit() -def CollectingPrinter(object): +class CollectingPrinter(object): def __init__(self): self.collection = []