Commit 219b6aba authored by hydrargyrum's avatar hydrargyrum
Browse files

tools/stable_backport: weboob.capabilities.housing is a manual port

74a67674 added housing capability manual
port file, but didn't declare it, so it was unused.

Also, keep non-exported imports unchanged.
parent bf2c2775
......@@ -44,6 +44,7 @@ def create_compat_dir(name):
MANUAL_PORTS = [
'weboob.capabilities.bank',
'weboob.capabilities.housing',
'weboob.capabilities.recipe',
'weboob.browser.pages',
'weboob.browser.exceptions',
......
from weboob.capabilities.housing import *
import weboob.capabilities.bank as OLD
# can't import *, __all__ is incomplete...
for attr in dir(OLD):
globals()[attr] = getattr(OLD, attr)
__all__ = OLD.__all__
ENERGY_CLASS = enum(A=u'A', B=u'B', C=u'C', D=u'D', E=u'E', F=u'F', G=u'G')
......
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