Remove unused functions

main
Bob Mottram 2021-05-31 17:05:32 +01:00
parent f4bce1034b
commit 41a291c40b
1 changed files with 0 additions and 16 deletions

View File

@ -1634,22 +1634,6 @@ def getCSS(baseDir: str, cssFilename: str, cssCache: {}) -> str:
return None
def daysInMonth(year: int, monthNumber: int) -> int:
"""Returns the number of days in the month
"""
if monthNumber < 1 or monthNumber > 12:
return None
daysRange = monthrange(year, monthNumber)
return daysRange[1]
def mergeDicts(dict1: {}, dict2: {}) -> {}:
"""Merges two dictionaries
"""
res = {**dict1, **dict2}
return res
def isEventPost(messageJson: {}) -> bool:
"""Is the given post a mobilizon-type event activity?
See https://framagit.org/framasoft/mobilizon/-/blob/