[z3-checkins] r14429 - z3/Five/trunk
philikon at codespeak.net
philikon at codespeak.net
Fri Jul 8 15:26:35 CEST 2005
Author: philikon
Date: Fri Jul 8 15:26:34 2005
New Revision: 14429
Modified:
z3/Five/trunk/bridge.py
Log:
whitespace cleanup
Modified: z3/Five/trunk/bridge.py
==============================================================================
--- z3/Five/trunk/bridge.py (original)
+++ z3/Five/trunk/bridge.py Fri Jul 8 15:26:34 2005
@@ -24,7 +24,6 @@
from zope.interface.interface import Attribute as Z3_Attribute
def fromZ2Interface(z2i):
-
""" Return a Zope 3 interface corresponding to 'z2i'.
o 'z2i' must be a Zope 2 interface.
@@ -36,9 +35,7 @@
return Z3_Interface
name = z2i.getName()
-
bases = [ fromZ2Interface(x) for x in z2i.getBases() ]
-
attrs = {}
for k, v in z2i.namesAndDescriptions():
@@ -54,11 +51,9 @@
bases=bases,
attrs=attrs,
__doc__=z2i.getDoc(),
- __module__=z2i.__module__,
- )
+ __module__=z2i.__module__)
def fromZ2Attribute(z2a):
-
""" Return a Zope 3 interface attribute corresponding to 'z2a'.
o 'z2a' must be a Zope 2 interface attribute.
More information about the z3-checkins
mailing list