Commit b4c3f692 authored by Nicolas Dumazet's avatar Nicolas Dumazet

two spaces indentation everywhere, rename subcls to subclass


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39755 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent acc342ab
...@@ -88,9 +88,9 @@ class PortalTypeMetaClass(ExtensionClass): ...@@ -88,9 +88,9 @@ class PortalTypeMetaClass(ExtensionClass):
InitializeClass(cls) InitializeClass(cls)
# And we need to do the same thing on subclasses # And we need to do the same thing on subclasses
for subcls in PortalTypeMetaClass.getSubclassList(cls): for subclass in PortalTypeMetaClass.getSubclassList(cls):
pmc_init_of(subcls) pmc_init_of(subclass)
InitializeClass(subcls) InitializeClass(subclass)
def restoreGhostState(cls): def restoreGhostState(cls):
ghostbase = getattr(cls, '__ghostbase__', None) ghostbase = getattr(cls, '__ghostbase__', None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment