pep fixes

This commit is contained in:
Philip Ridout 2017-09-24 20:33:07 +01:00
parent d52fff75a4
commit 047a1b3808
3 changed files with 10 additions and 9 deletions

View File

@ -216,8 +216,9 @@ class PathType(types.TypeDecorator):
PathType to a UnicodeText type.
:param op: The operation being carried out. Not used, as we only care about the type that is being used with the
operation.
:param openlp.core.common.path.Path | str value: The value being used for the comparison. Most likely a Path Object or str.
operation.
:param openlp.core.common.path.Path | str value: The value being used for the comparison. Most likely a Path
Object or str.
:return: The coerced value stored in the db
:rtype: PathType or UnicodeText
"""
@ -343,8 +344,8 @@ class Manager(object):
:param plugin_name: The name to setup paths and settings section names
:param init_schema: The init_schema function for this database
:param openlp.core.common.path.Path db_file_path: The file name to use for this database. Defaults to None resulting in the plugin_name
being used.
:param openlp.core.common.path.Path db_file_path: The file name to use for this database. Defaults to None
resulting in the plugin_name being used.
:param upgrade_mod: The upgrade_schema function for this database
"""
self.is_dirty = False