Diverse Code Cleanups

*Code wurde PEP-8 gerecht formatiert
* Kleine Fehler die der PyCharm Inspector beanstandet wurden korrigiert
This commit is contained in:
Christian Berg
2014-11-26 16:04:52 +01:00
committed by Christian Berg
parent f34281089d
commit 86a0db050d
76 changed files with 619 additions and 528 deletions

View File

@@ -653,17 +653,17 @@ class vDDDLists:
self.dts = vDDD
def ical(self):
'''
"""
Generates the text string in the iCalendar format.
'''
"""
dts_ical = [dt.ical() for dt in self.dts]
return ",".join(dts_ical)
def from_ical(ical):
'''
"""
Parses the list of data formats from ical text format.
@param ical: ical text format
'''
"""
out = []
ical_dates = ical.split(",")
for ical_dt in ical_dates: