Skip to content

Commit 1de23fb

Browse files
authored
Merge pull request #6722 from LMFDB/autopep8-patches
Fixes by autopep8 action
2 parents f00aa8e + d0e8516 commit 1de23fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lmfdb/lmfdb_database.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ class LMFDBDatabase(PostgresDatabase):
312312
In addition to the attributes on PostgresDatabase:
313313
314314
- ``is_verifying`` -- whether this database has been configured with verifications (import from lmfdb.verify if you want this to be True)
315-
315+
316316
PARAMETERS:
317-
317+
318318
- ``config`` -- optional configuration. Can be:
319319
* None (default): creates a default Configuration() object
320320
* dict: a dictionary with keys 'postgresql_options', 'flask_options', 'logging_options'
@@ -331,7 +331,7 @@ def __init__(self, config=None, **kwargs):
331331
# If config is a dict, create a wrapper object with the required attributes
332332
config = ConfigWrapper(config)
333333
# else: config is already a Configuration object, use it as-is
334-
334+
335335
PostgresDatabase.__init__(self, config, **kwargs)
336336
self.is_verifying = False # set to true when importing lmfdb.verify
337337
self.__editor = config.logging_options.get("editor", "")

lmfdb/utils/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,14 +377,14 @@ def __init__(self, config_dict):
377377
self.postgresql_options = config_dict.get('postgresql_options', {})
378378
self.flask_options = config_dict.get('flask_options', {})
379379
self.logging_options = config_dict.get('logging_options', {'editor': ''})
380-
380+
381381
# Add the get methods that might be expected
382382
def get_postgresql(self):
383383
return self.postgresql_options
384-
384+
385385
def get_flask(self):
386386
return self.flask_options
387-
387+
388388
def get_logging(self):
389389
return self.logging_options
390390

0 commit comments

Comments
 (0)