CollectingPrinter is a class, not a function!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:10:18 +0000 (17:10 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:10:18 +0000 (17:10 -0600)
mediagoblin/tests/test_sql_migrations.py

index 7a49a4a50345036f570238151eb3b9e6bf88b2c3..7dfc4b2647efb7520aa9d53dffeaf54bdd83a9c1 100644 (file)
@@ -489,7 +489,7 @@ def _insert_migration3_objects(session):
     session.commit()
 
 
-def CollectingPrinter(object):
+class CollectingPrinter(object):
     def __init__(self):
         self.collection = []