summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-12-10 14:06:17 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-12-10 14:06:17 +0100
commitdd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 (patch)
tree563697c8c7b946ea674925a9a8aaedfe92e23e2a /python
parent655d894cce5b0f01567d0a3e94bbb9cad024ad3e (diff)
Add copyright info
Diffstat (limited to 'python')
-rwxr-xr-xpython/runner/interpreter.py16
-rw-r--r--python/runner/sandbox.c16
-rw-r--r--python/util.py16
3 files changed, 48 insertions, 0 deletions
diff --git a/python/runner/interpreter.py b/python/runner/interpreter.py
index 722bc33..34601d2 100755
--- a/python/runner/interpreter.py
+++ b/python/runner/interpreter.py
@@ -1,5 +1,21 @@
#!/usr/bin/python3 -u
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import code
import io
import pickle
diff --git a/python/runner/sandbox.c b/python/runner/sandbox.c
index 7da8dd2..b822997 100644
--- a/python/runner/sandbox.c
+++ b/python/runner/sandbox.c
@@ -1,3 +1,19 @@
+/* CodeQ: an online programming tutor.
+ Copyright (C) 2015 UL FRI
+
+This program is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/python/util.py b/python/util.py
index 8c1a0c7..5cde278 100644
--- a/python/util.py
+++ b/python/util.py
@@ -1,5 +1,21 @@
#!/usr/bin/python
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import io
import re
from tokenize import tokenize, TokenError