Files
python-neutronclient/neutronclient/tests/unit/test_command_meta.py
Isaku Yamahata 4164de2bdb setup logger name of NeutronCommand automatically
It is a common pattern to add
class XXXCommand(NeutronCommand):
    log = logging.getLogger(__name__ + '.<command name>').
So introduce a metaclass to do that automatically in order to simplify
the code a bit.

Closes-Bug: #1258028
Change-Id: I7908e3e2c0f3f04d9e57360f6ba22e153d0d35bd
2014-07-30 23:15:28 +09:00

1.5 KiB