Skip to content

Commit

Permalink
list -> *args
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbox committed Apr 11, 2017
1 parent 14cfe0b commit 4b3880f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ def use_speedups(self, value):
pass


register_database(PostgresqlDatabase, ['postgres+async', 'postgresql+async'])
register_database(PostgresqlDatabase, 'postgres+async', 'postgresql+async')


class PooledPostgresqlDatabase(AsyncPostgresqlMixin, peewee.PostgresqlDatabase):
Expand Down Expand Up @@ -1205,7 +1205,7 @@ def use_speedups(self, value):
pass


register_database(PooledPostgresqlDatabase, ['postgres+pool+async', 'postgresql+pool+async'])
register_database(PooledPostgresqlDatabase, 'postgres+pool+async', 'postgresql+pool+async')


#########
Expand Down Expand Up @@ -1326,7 +1326,7 @@ def use_speedups(self, value):
pass


register_database(MySQLDatabase, ['mysql+async'])
register_database(MySQLDatabase, 'mysql+async')


class PooledMySQLDatabase(MySQLDatabase):
Expand All @@ -1350,7 +1350,7 @@ def init(self, database, **kwargs):
self.max_connections = max_connections


register_database(PooledMySQLDatabase, ['mysql+pool+async'])
register_database(PooledMySQLDatabase, 'mysql+pool+async')


##############
Expand Down
4 changes: 2 additions & 2 deletions peewee_asyncext.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def use_speedups(self, value):
pass


register_database(PostgresqlExtDatabase, ['postgresext+async', 'postgresqlext+async'])
register_database(PostgresqlExtDatabase, 'postgresext+async', 'postgresqlext+async')


class PooledPostgresqlExtDatabase(AsyncPostgresqlMixin, ext.PostgresqlExtDatabase):
Expand Down Expand Up @@ -85,4 +85,4 @@ def use_speedups(self, value):
pass


register_database(PooledPostgresqlExtDatabase, ['postgresext+pool+async', 'postgresqlext+pool+async'])
register_database(PooledPostgresqlExtDatabase, 'postgresext+pool+async', 'postgresqlext+pool+async')

0 comments on commit 4b3880f

Please sign in to comment.