File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ def serialize(self, if_static=False):
127
127
128
128
def register_task (self , task ):
129
129
if self .belonging_jobs :
130
- raise RuntimeError ("Not allowed to register tasks after generating jobs."
130
+ raise RuntimeError ("Not allowed to register tasks after generating jobs. "
131
131
"submission hash error {self}" .format (self = self ))
132
132
self .belonging_tasks .append (task )
133
133
134
134
def register_task_list (self , task_list ):
135
135
if self .belonging_jobs :
136
- raise RuntimeError ("Not allowed to register tasks after generating jobs."
136
+ raise RuntimeError ("Not allowed to register tasks after generating jobs. "
137
137
"submission hash error {self}" .format (self = self ))
138
138
self .belonging_tasks .extend (task_list )
139
139
@@ -242,8 +242,8 @@ def handle_unexpected_submission_state(self):
242
242
f"Meet errors will handle unexpected submission state.\n "
243
243
f"Debug information: remote_root=={ self .machine .context .remote_root } .\n "
244
244
f"Debug information: submission_hash=={ self .submission_hash } .\n "
245
- f"Please check the dirs and scripts in remote_root"
246
- f"The job information mentioned above may help"
245
+ f"Please check the dirs and scripts in remote_root. "
246
+ f"The job information mentioned above may help. "
247
247
) from e
248
248
249
249
# not used here, submitting job is in handle_unexpected_submission_state.
You can’t perform that action at this time.
0 commit comments