[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - editview.py:1.21

Fred L. Drake, Jr. fred@zope.com
Wed, 16 Apr 2003 12:23:12 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv23526

Modified Files:
	editview.py 
Log Message:
minor cleanups


=== Zope3/src/zope/app/browser/form/editview.py 1.20 => 1.21 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.20	Mon Apr 14 17:13:01 2003
+++ Zope3/src/zope/app/browser/form/editview.py	Wed Apr 16 12:23:12 2003
@@ -197,11 +197,10 @@
         for_ = resolveInterface(_context, for_)
 
     if class_ is None:
-        bases = (view, )
+        bases = view,
     else:
         # XXX What about class_.__implements__ ?
-        bases = (_context.resolve(class_), view)
-
+        bases = _context.resolve(class_), view
 
     if template is not None:
         template = _context.path(template)