diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-09-24 15:06:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-09-24 15:06:51 +0300 |
commit | b8e6f333d5f5e377b27ad561c8681d8a678e18ce (patch) | |
tree | c8f21e6ca52e2fcdf108e5af82e50353b0231bb5 /ick2 | |
parent | 17b5069a8a4d2f7bdfa9cb2617bad739d5b22fc3 (diff) | |
download | ick2-b8e6f333d5f5e377b27ad561c8681d8a678e18ce.tar.gz |
Add: copyright license declaration to all files
Also, ./check verifies it's in all files.
Diffstat (limited to 'ick2')
-rw-r--r-- | ick2/__init__.py | 12 | ||||
-rw-r--r-- | ick2/controllerapi.py | 12 | ||||
-rw-r--r-- | ick2/controllerapi_tests.py | 14 | ||||
-rw-r--r-- | ick2/logging.py | 12 | ||||
-rw-r--r-- | ick2/state.py | 13 | ||||
-rw-r--r-- | ick2/state_tests.py | 15 |
6 files changed, 76 insertions, 2 deletions
diff --git a/ick2/__init__.py b/ick2/__init__.py index bf349aa..244ca88 100644 --- a/ick2/__init__.py +++ b/ick2/__init__.py @@ -1,4 +1,16 @@ # Copyright (C) 2017 Lars Wirzenius +# 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/>. from .logging import setup_logging, log diff --git a/ick2/controllerapi.py b/ick2/controllerapi.py index c2b3213..340d609 100644 --- a/ick2/controllerapi.py +++ b/ick2/controllerapi.py @@ -1,4 +1,16 @@ # Copyright (C) 2017 Lars Wirzenius +# 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 glob diff --git a/ick2/controllerapi_tests.py b/ick2/controllerapi_tests.py index 3277526..ca05e6b 100644 --- a/ick2/controllerapi_tests.py +++ b/ick2/controllerapi_tests.py @@ -1,4 +1,16 @@ # Copyright (C) 2017 Lars Wirzenius +# 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 os @@ -34,7 +46,7 @@ class ControllerAPITests(unittest.TestCase): statedir = api.get_state_directory() self.assertEqual(statedir, self.statedir) self.assertTrue(os.path.exists(statedir)) - + def test_has_not_projects_initially(self): api = self.create_api() self.assertEqual(api.get_projects(), {'projects': []}) diff --git a/ick2/logging.py b/ick2/logging.py index 729778d..00a65ac 100644 --- a/ick2/logging.py +++ b/ick2/logging.py @@ -1,4 +1,16 @@ # Copyright (C) 2017 Lars Wirzenius +# 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 slog diff --git a/ick2/state.py b/ick2/state.py index 3d4199f..8fd00c6 100644 --- a/ick2/state.py +++ b/ick2/state.py @@ -1,4 +1,17 @@ # Copyright (C) 2017 Lars Wirzenius +# +# 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 glob diff --git a/ick2/state_tests.py b/ick2/state_tests.py index 098ad2d..15a0a24 100644 --- a/ick2/state_tests.py +++ b/ick2/state_tests.py @@ -1,4 +1,17 @@ # Copyright (C) 2017 Lars Wirzenius +# +# 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 os @@ -33,7 +46,7 @@ class ControllerStateTests(unittest.TestCase): statedir = state.get_state_directory() self.assertEqual(statedir, self.statedir) self.assertTrue(os.path.exists(statedir)) - + def test_has_not_projects_initially(self): state = self.create_state() self.assertEqual(state.get_projects(), []) |