Skip to content

Commit 0dcfdaf

Browse files
committed
Added missing parameters to CountryHoliday (vacanza#227)
1 parent 75ffe88 commit 0dcfdaf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎holidays.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,14 @@ def _populate(self, year):
228228
return HolidaySum
229229

230230

231-
def CountryHoliday(country, years=[], prov=None, state=None):
231+
def CountryHoliday(country, years=[], prov=None, state=None, expand=True,
232+
observed=True):
232233
try:
233234
country_holiday = globals()[country](years=years,
234-
prov=prov, state=state)
235+
prov=prov,
236+
state=state,
237+
expand=expand,
238+
observed=observed)
235239
except (KeyError):
236240
raise KeyError("Country %s not available" % country)
237241
return country_holiday

0 commit comments

Comments
 (0)