File tree Expand file tree Collapse file tree 2 files changed +19
-12
lines changed
Expand file tree Collapse file tree 2 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1- chats
2- chats.json
3- __pycache__
41
2+ # python files
3+ __pycache__
54venv /
65bin /
7- lib /
6+ lib /
7+
8+
9+ # Bot files
10+ . /authmsg
11+ . /token
12+ . /offset
13+ chats
14+ chats.json
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ def generateIssueMsg(data):
104104 msg = '*{0}* new issue for *{2}*:\n ' \
105105 .format (
106106 data ['project' ]['name' ],
107- object_attributes ['iid' ]
107+ object_attributes ['iid' ],
108108 assignees
109109 )
110110 elif action == 'reopen' :
111111 assignees = getAssignees (data )
112112 msg = '*{0}* issue re-opened by *{1}* for *{2}*:\n ' \
113113 .format (
114114 data ['project' ]['name' ],
115- data ['user' ]['name' ]
115+ data ['user' ]['name' ],
116116 assignees
117117 )
118118 elif action == 'close' :
@@ -147,12 +147,12 @@ def generateCommentMsg(data):
147147 data ['user' ]['name' ],
148148 object_attributes ["description" ]
149149 )
150- msg = msg + '\n Issue #{2} - [{0}]({1})' \
151- .format (
152- issue ['title' ],
153- object_attributes ['url' ],
154- issue ['iid' ]
155- )
150+ msg = msg + '\n Issue #{2} - [{0}]({1})' \
151+ .format (
152+ issue ['title' ],
153+ object_attributes ['url' ],
154+ issue ['iid' ]
155+ )
156156 elif ntype == 'Snippet' :
157157 msg = 'note on code snippet'
158158 return msg
You can’t perform that action at this time.
0 commit comments