|
1 | 1 | # Online Python Tutor |
2 | | -# Copyright (C) 2010-2011 Philip J. Guo (philip@pgbovine.net) |
3 | 2 | # https://github.com/pgbovine/OnlinePythonTutor/ |
4 | 3 | # |
5 | | -# This program is free software: you can redistribute it and/or modify |
6 | | -# it under the terms of the GNU General Public License as published by |
7 | | -# the Free Software Foundation, either version 3 of the License, or |
8 | | -# (at your option) any later version. |
| 4 | +# Copyright (C) 2010-2012 Philip J. Guo (philip@pgbovine.net) |
9 | 5 | # |
10 | | -# This program is distributed in the hope that it will be useful, |
11 | | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | | -# GNU General Public License for more details. |
| 6 | +# Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | +# copy of this software and associated documentation files (the |
| 8 | +# "Software"), to deal in the Software without restriction, including |
| 9 | +# without limitation the rights to use, copy, modify, merge, publish, |
| 10 | +# distribute, sublicense, and/or sell copies of the Software, and to |
| 11 | +# permit persons to whom the Software is furnished to do so, subject to |
| 12 | +# the following conditions: |
14 | 13 | # |
15 | | -# You should have received a copy of the GNU General Public License |
16 | | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 14 | +# The above copyright notice and this permission notice shall be included |
| 15 | +# in all copies or substantial portions of the Software. |
| 16 | +# |
| 17 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 18 | +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 19 | +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 20 | +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 21 | +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 22 | +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 23 | +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 24 | + |
17 | 25 |
|
18 | 26 | # Defines a function that parses an Online Python Tutor 'questions file' |
19 | 27 | # into a dict, which can easily be converted into JSON |
|
0 commit comments