Remove unused CLASS_POOL

This commit is contained in:
Cédric Krier committed 2008-10-10 13:16:26 +02:00
1 parent 99c83fe35e
commit 0bfc4d75e8
3 files changed
-6

No files matched your search

-2
View File
@@ -17,7 +17,6 @@ import logging
MODULE_LIST = []
MODULE_CLASS_LIST = {}
CLASS_POOL = {}
class OSVService(Service):
@@ -167,7 +166,6 @@ class OSV(ORM):
if not hasattr(cls, '_module'):
cls._module = module
MODULE_CLASS_LIST.setdefault(cls._module, []).append(cls)
CLASS_POOL[cls._name] = cls
if module not in MODULE_LIST:
MODULE_LIST.append(cls._module)
return None
-2
View File
@@ -30,7 +30,6 @@ import logging
MODULE_LIST = []
MODULE_CLASS_LIST = {}
CLASS_POOL = {}
class ReportService(Service):
@@ -167,7 +166,6 @@ class Report(object):
if not hasattr(cls, '_module'):
cls._module = module
MODULE_CLASS_LIST.setdefault(cls._module, []).append(cls)
CLASS_POOL[cls._name] = cls
if module not in MODULE_LIST:
MODULE_LIST.append(cls._module)
return None
-2
View File
@@ -13,7 +13,6 @@ import logging
MODULE_LIST = []
MODULE_CLASS_LIST = {}
CLASS_POOL = {}
class WizardService(Service):
@@ -118,7 +117,6 @@ class Wizard(object):
if not hasattr(cls, '_module'):
cls._module = module
MODULE_CLASS_LIST.setdefault(cls._module, []).append(cls)
CLASS_POOL[cls._name] = cls
if module not in MODULE_LIST:
MODULE_LIST.append(cls._module)
return None