remove trailing comma for kw-only args until 3.6

This commit is contained in:
voussoir 2016-12-16 01:37:15 -08:00
parent 7e9c78bb19
commit 6a96bc4ada

View file

@ -462,7 +462,7 @@ class PDBAlbumMixin:
*, *,
associated_directory=None, associated_directory=None,
commit=True, commit=True,
photos=None, photos=None
): ):
''' '''
Create a new album. Photos can be added now or later. Create a new album. Photos can be added now or later.
@ -564,7 +564,7 @@ class PDBPhotoMixin:
commit=True, commit=True,
do_metadata=True, do_metadata=True,
do_thumbnail=True, do_thumbnail=True,
tags=None, tags=None
): ):
''' '''
Given a filepath, determine its attributes and create a new Photo object in the Given a filepath, determine its attributes and create a new Photo object in the
@ -653,7 +653,7 @@ class PDBPhotoMixin:
warn_bad_tags=False, warn_bad_tags=False,
limit=None, limit=None,
offset=None, offset=None,
orderby=None, orderby=None
): ):
''' '''
PHOTO PROPERTISE PHOTO PROPERTISE
@ -951,7 +951,7 @@ class PhotoDB(PDBAlbumMixin, PDBPhotoMixin, PDBTagMixin):
databasename=None, databasename=None,
data_directory=None, data_directory=None,
*, *,
id_length=None, id_length=None
): ):
if databasename is None: if databasename is None:
databasename = constants.DEFAULT_DBNAME databasename = constants.DEFAULT_DBNAME
@ -1010,7 +1010,7 @@ class PhotoDB(PDBAlbumMixin, PDBPhotoMixin, PDBTagMixin):
*, *,
exclude_directories=None, exclude_directories=None,
exclude_filenames=None, exclude_filenames=None,
commit=True, commit=True
): ):
''' '''
Create an album, and add the directory's contents to it recursively. Create an album, and add the directory's contents to it recursively.