Please review this at http://codereview.appspot.com/3167041/

Affected files:
  M proteus/__init__.py


Index: proteus/__init__.py
===================================================================
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -737,8 +737,7 @@

     def __init__(self, name, models=None, config=None, context=None):
         if models:
-            assert isinstance(models, ModelList)
-
+            assert len(set(type(x) for x in models)) == 1
         super(Wizard, self).__init__()
         self.name = name
         self.state = None



-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpMWPsotGNkm.pgp
Description: PGP signature

Reply via email to