Refactor code quality issues (#2001)

This commit is contained in:
Aksh Gupta
2021-03-16 23:43:02 +05:30
committed by GitHub
parent eae55e4b5a
commit 88ba7ab53a
18 changed files with 33 additions and 33 deletions

View File

@@ -159,7 +159,7 @@ class CheckInListMixin(BaseExporter):
), self.event.timezone)
qs = qs.filter(subevent__date_from__lt=dt)
o = tuple()
o = ()
if self.event.has_subevents and not cl.subevent:
o = ('subevent__date_from', 'subevent__name')

View File

@@ -616,7 +616,7 @@ class OrderTaxListReport(MultiSheetListExporter):
elif sheet == 'companies':
yield from self.iterate_companies(form_data)
def _combine(self, *qs, keys=tuple()):
def _combine(self, *qs, keys=()):
cache = {}
def kf(r):