Skip to content

Commit 1670f2c

Browse files
committed
add source headers
1 parent be33ca2 commit 1670f2c

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed

boaapi/boa_client.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Copyright 2019, Hridesh Rajan, Kamsi Ibeziako, Robert Dyer,
3+
# Bowling Green State University
4+
# and Iowa State University of Science and Technology
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
118
import xmlrpc.client
219
import traceback
320
from boaapi.util import parse_job

boaapi/job_handle.py

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Copyright 2019, Hridesh Rajan, Kamsi Ibeziako, Robert Dyer,
3+
# Bowling Green State University
4+
# and Iowa State University of Science and Technology
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
118
class JobHandle:
219
"""A class for handling jobs sent to the framework
320
@@ -73,4 +90,4 @@ def refresh(self):
7390
job = self.client.get_job(self.id)
7491
self.compiler_status = job.compiler_status
7592
self.exec_status = job.exec_status
76-
self.date = job.date
93+
self.date = job.date

boaapi/util.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Copyright 2019, Hridesh Rajan, Kamsi Ibeziako, Robert Dyer,
3+
# Bowling Green State University
4+
# and Iowa State University of Science and Technology
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
118
import xmlrpc
219
from boaapi.job_handle import JobHandle
320

0 commit comments

Comments
 (0)