Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Dec 9, 2021
1 parent a37be22 commit 252a634
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ wsgidav.yaml
wsgidav_2x.yaml
wsgidav_custom.yaml

wsgidav_cors.yaml
4 changes: 1 addition & 3 deletions wsgidav/samples/mysql_dav_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@ def get_property_names(self, *, is_allprop):
In addition, all table field names are returned as properties.
"""
# Let default implementation return supported live and dead properties
propNames = super().get_property_names(
is_allprop=is_allprop
)
propNames = super().get_property_names(is_allprop=is_allprop)
# Add fieldnames as properties
tableName, primKey = self.provider._split_path(self.path)
if primKey is not None:
Expand Down
4 changes: 1 addition & 3 deletions wsgidav/samples/virtual_dav_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@ def get_property_names(self, *, is_allprop):
See DAVResource.get_property_names()
"""
# Let base class implementation add supported live and dead properties
propNameList = super().get_property_names(
is_allprop=is_allprop
)
propNameList = super().get_property_names(is_allprop=is_allprop)
# Add custom live properties (report on 'allprop' and 'propnames')
propNameList.extend(VirtualResource._supportedProps)
return propNameList
Expand Down
2 changes: 1 addition & 1 deletion wsgidav/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from email.utils import formatdate, parsedate
from hashlib import md5
from pprint import pformat
from typing import Iterable, Optional, Tuple
from typing import Iterable, Optional
from urllib.parse import quote

from wsgidav.dav_error import (
Expand Down

0 comments on commit 252a634

Please sign in to comment.