updating delegate code style

This commit is contained in:
Roman Mogilatov 2015-03-09 00:04:36 +02:00
parent da1f1eb08a
commit 120ef5d5cb

View File

@ -1,6 +1,4 @@
""" """Example of providers delegate."""
Example of providers delegate.
"""
from objects import AbstractCatalog from objects import AbstractCatalog
from objects.providers import ( from objects.providers import (
@ -29,9 +27,8 @@ class ObjectB(object):
# Catalog of objects providers. # Catalog of objects providers.
class Catalog(AbstractCatalog): class Catalog(AbstractCatalog):
"""
Objects catalog. """Objects catalog."""
"""
database = Singleton(sqlite3.Connection, database = Singleton(sqlite3.Connection,
InitArg('database', ':memory:'), InitArg('database', ':memory:'),