eric6/Tasks/TasksFile.py

branch
jsonfiles
changeset 8017
7ec108389fde
parent 8016
e484fc67677e
child 8031
ce5858a237d2
equal deleted inserted replaced
8016:e484fc67677e 8017:7ec108389fde
42 @param filename name of the tasks file 42 @param filename name of the tasks file
43 @type str 43 @type str
44 @return flag indicating a successful write 44 @return flag indicating a successful write
45 @rtype bool 45 @rtype bool
46 """ 46 """
47 # prepare the session data dictionary 47 # prepare the tasks data dictionary
48 # step 0: header 48 # step 0: header
49 tasksDict = {} 49 tasksDict = {}
50 tasksDict["header"] = {}
51 if self.__isGlobal: 50 if self.__isGlobal:
52 tasksDict["header"] = { 51 tasksDict["header"] = {
53 "comment": "eric tasks file", 52 "comment": "eric tasks file",
54 "saved": time.strftime('%Y-%m-%d, %H:%M:%S'), 53 "saved": time.strftime('%Y-%m-%d, %H:%M:%S'),
55 "warning": ( 54 "warning": (

eric ide

mercurial