Skip to content

Commit 7c68e60

Browse files
committed
adds comments and TODOs
1 parent 53e40df commit 7c68e60

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

migration/openresearch/event.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def __init__(self,listName:str=None,clazz=None,tableName:str=None):
4141

4242
@classmethod
4343
def getDefaultCachePath(cls):
44+
'''
45+
get the default cache path
46+
'''
4447
cachePath=OpenResearch.getCachePath()
4548
return cachePath
4649

migration/openresearch/wikihandler.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def importCsvStrToWiki(self,csvStr):
4646
4747
csvStr:
4848
'''
49+
#TODO FIXME: use csv library
4950
csvList = csvStr.split('\n')
5051
csvList = list(filter(None, csvList))
5152
headers = csvList[0].split(',')
@@ -61,10 +62,10 @@ def importLodToWiki(self,LoD):
6162
import the given list of dicts to my wiki
6263
'''
6364
wikiFileManager = WikiFileManager(self.wikiId)
64-
# FIXME why is this specific to Events?
65+
# TODO FIXME why is this specific to Events?
6566
eventList = EventList()
6667
eventList.fromLoD(LoD)
67-
# FIXME make the call of fixers configurable
68+
# TODO FIXME make the call of fixers configurable
6869
# LocationFixer(wikiclient).fixEventRecords(LoD)
6970
wikiFileManager.importLODtoWiki(LoD, 'Event')
7071

0 commit comments

Comments
 (0)