diff --git a/CHANGELOG b/CHANGELOG index d4310b6..78f4bed 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,12 @@ Stalker Changes =============== +0.2.17.4 +======== + +* **Update:** Updated the comment sections of all of the source files to + correctly show that Stalker is LGPL v3 (not v2.1). + 0.2.17.3 ======== diff --git a/README.md b/README.md index 56f6b28..42507cd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ About Stalker is an Open Source Production Asset Management (ProdAM) Library designed specifically for Animation and VFX Studios but can be used for any kind of -projects. Stalker is licensed under LGPL v2.1. +projects. Stalker is licensed under LGPL v3. Features: * Designed for animation and VFX Studios. diff --git a/examples/__init__.py b/examples/__init__.py index a18f345..19a9dc5 100644 --- a/examples/__init__.py +++ b/examples/__init__.py @@ -4,16 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see diff --git a/examples/extending/__init__.py b/examples/extending/__init__.py index a18f345..f063b9d 100644 --- a/examples/extending/__init__.py +++ b/examples/extending/__init__.py @@ -4,16 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see \ No newline at end of file diff --git a/examples/extending/camera_lens.py b/examples/extending/camera_lens.py index 0a89afb..eba3a90 100644 --- a/examples/extending/camera_lens.py +++ b/examples/extending/camera_lens.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """ In this example we are going to extend the Stalker Object Model (SOM) with two new type of classes which are derived from the diff --git a/examples/extending/great_entity.py b/examples/extending/great_entity.py index 9bbc055..6173917 100644 --- a/examples/extending/great_entity.py +++ b/examples/extending/great_entity.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """ In this example we are going to extend stalker with a new entity type, which is also mixed in with a :class:`stalker.models.mixins.ReferenceMixin`. diff --git a/examples/extending/statused_entity.py b/examples/extending/statused_entity.py index a403187..574ea5f 100644 --- a/examples/extending/statused_entity.py +++ b/examples/extending/statused_entity.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """ In this example we are going to extend Stalker with a new entity type, which is also mixed in with :class:`stalker.models.mixins.StatusMixin`. diff --git a/stalker/__init__.py b/stalker/__init__.py index c644cd6..a58a894 100644 --- a/stalker/__init__.py +++ b/stalker/__init__.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """Stalker is a Production Asset Management System (ProdAM) designed for Animation and VFX Studios. @@ -25,7 +23,7 @@ import sys -__version__ = '0.2.17.3' +__version__ = '0.2.17.4' __string_types__ = [] diff --git a/stalker/config.py b/stalker/config.py index 50126f7..682b382 100644 --- a/stalker/config.py +++ b/stalker/config.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import datetime diff --git a/stalker/db/__init__.py b/stalker/db/__init__.py index 7c0ce80..7f97d6e 100644 --- a/stalker/db/__init__.py +++ b/stalker/db/__init__.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """Database module of Stalker. Whenever stalker.db or something under it imported, the diff --git a/stalker/db/declarative.py b/stalker/db/declarative.py index e8d0b7e..ced287c 100644 --- a/stalker/db/declarative.py +++ b/stalker/db/declarative.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import logging from sqlalchemy.ext.declarative import declarative_base diff --git a/stalker/db/session.py b/stalker/db/session.py index 6286d79..2398806 100644 --- a/stalker/db/session.py +++ b/stalker/db/session.py @@ -1,22 +1,20 @@ # -*- coding: utf-8 -*- # Stalker a Production Asset Management System -# Copyright (C) 2009-2013 Erkan Ozgur Yilmaz +# Copyright (C) 2009-2016 Erkan Ozgur Yilmaz # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy.orm import ( scoped_session, diff --git a/stalker/exceptions.py b/stalker/exceptions.py index 9b50f11..0daee01 100644 --- a/stalker/exceptions.py +++ b/stalker/exceptions.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """Errors for the system. This module contains the Errors in Stalker. diff --git a/stalker/log.py b/stalker/log.py index d5a54eb..a273ebd 100644 --- a/stalker/log.py +++ b/stalker/log.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import logging logging.basicConfig() diff --git a/stalker/models/__init__.py b/stalker/models/__init__.py index a71055a..4f1d07e 100644 --- a/stalker/models/__init__.py +++ b/stalker/models/__init__.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import calendar import datetime from stalker.exceptions import CircularDependencyError diff --git a/stalker/models/asset.py b/stalker/models/asset.py index e8b8424..8cde88b 100644 --- a/stalker/models/asset.py +++ b/stalker/models/asset.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from stalker.models.task import Task diff --git a/stalker/models/auth.py b/stalker/models/auth.py index 7852eb3..3ffb6a5 100644 --- a/stalker/models/auth.py +++ b/stalker/models/auth.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import json diff --git a/stalker/models/budget.py b/stalker/models/budget.py index 6735180..f6da0d1 100644 --- a/stalker/models/budget.py +++ b/stalker/models/budget.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, Float, String, Table from sqlalchemy.orm import relationship, validates diff --git a/stalker/models/client.py b/stalker/models/client.py index f5efec0..bbe3ec9 100644 --- a/stalker/models/client.py +++ b/stalker/models/client.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.ext.associationproxy import association_proxy diff --git a/stalker/models/department.py b/stalker/models/department.py index 0ac65e7..7c9b522 100644 --- a/stalker/models/department.py +++ b/stalker/models/department.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.ext.associationproxy import association_proxy diff --git a/stalker/models/entity.py b/stalker/models/entity.py index d27454f..86ac96c 100644 --- a/stalker/models/entity.py +++ b/stalker/models/entity.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import re diff --git a/stalker/models/format.py b/stalker/models/format.py index c779410..91aef3c 100644 --- a/stalker/models/format.py +++ b/stalker/models/format.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, Float from sqlalchemy.orm import validates diff --git a/stalker/models/link.py b/stalker/models/link.py index 05e4614..f2625b3 100644 --- a/stalker/models/link.py +++ b/stalker/models/link.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import logging diff --git a/stalker/models/message.py b/stalker/models/message.py index 02c996d..70f5fa3 100644 --- a/stalker/models/message.py +++ b/stalker/models/message.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from stalker.models.entity import Entity diff --git a/stalker/models/mixins.py b/stalker/models/mixins.py index b1c1d46..6943dfc 100644 --- a/stalker/models/mixins.py +++ b/stalker/models/mixins.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import logging diff --git a/stalker/models/note.py b/stalker/models/note.py index ad8c6df..f8efe35 100644 --- a/stalker/models/note.py +++ b/stalker/models/note.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.orm import synonym diff --git a/stalker/models/project.py b/stalker/models/project.py index f400aee..d4412a6 100644 --- a/stalker/models/project.py +++ b/stalker/models/project.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import logging diff --git a/stalker/models/repository.py b/stalker/models/repository.py index b1787d7..b1857af 100644 --- a/stalker/models/repository.py +++ b/stalker/models/repository.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import platform diff --git a/stalker/models/scene.py b/stalker/models/scene.py index a6ef2a3..7ff68ba 100644 --- a/stalker/models/scene.py +++ b/stalker/models/scene.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.orm import relationship, validates diff --git a/stalker/models/schedulers.py b/stalker/models/schedulers.py index 2431040..83ecf6c 100644 --- a/stalker/models/schedulers.py +++ b/stalker/models/schedulers.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import subprocess diff --git a/stalker/models/sequence.py b/stalker/models/sequence.py index 9e18de3..4e7341e 100644 --- a/stalker/models/sequence.py +++ b/stalker/models/sequence.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.orm import relationship, validates diff --git a/stalker/models/shot.py b/stalker/models/shot.py index f104fed..d7a8977 100644 --- a/stalker/models/shot.py +++ b/stalker/models/shot.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, Table, Float from sqlalchemy.orm import relationship, validates, reconstructor, synonym diff --git a/stalker/models/status.py b/stalker/models/status.py index 3d7393f..2a28f0a 100644 --- a/stalker/models/status.py +++ b/stalker/models/status.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Table, Column, Integer, ForeignKey from sqlalchemy.orm import relationship, validates diff --git a/stalker/models/structure.py b/stalker/models/structure.py index d0bdf97..2777818 100644 --- a/stalker/models/structure.py +++ b/stalker/models/structure.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Table, Column, Integer, ForeignKey, Text from sqlalchemy.orm import relationship, validates diff --git a/stalker/models/studio.py b/stalker/models/studio.py index fdc07f8..1006da3 100644 --- a/stalker/models/studio.py +++ b/stalker/models/studio.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import copy import logging diff --git a/stalker/models/tag.py b/stalker/models/tag.py index 955b013..b0e690f 100644 --- a/stalker/models/tag.py +++ b/stalker/models/tag.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey diff --git a/stalker/models/task.py b/stalker/models/task.py index 7823391..0bd8fb7 100644 --- a/stalker/models/task.py +++ b/stalker/models/task.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import logging diff --git a/stalker/models/template.py b/stalker/models/template.py index 6080f9c..bcbc7e1 100644 --- a/stalker/models/template.py +++ b/stalker/models/template.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, Text from sqlalchemy.orm import validates diff --git a/stalker/models/ticket.py b/stalker/models/ticket.py index d4cb3ef..bf535f4 100644 --- a/stalker/models/ticket.py +++ b/stalker/models/ticket.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import uuid diff --git a/stalker/models/type.py b/stalker/models/type.py index d296c09..83fef07 100644 --- a/stalker/models/type.py +++ b/stalker/models/type.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, String, Boolean diff --git a/stalker/models/version.py b/stalker/models/version.py index ea5003e..d022f27 100644 --- a/stalker/models/version.py +++ b/stalker/models/version.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os diff --git a/stalker/models/wiki.py b/stalker/models/wiki.py index b012158..586d9ec 100644 --- a/stalker/models/wiki.py +++ b/stalker/models/wiki.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy import Column, Integer, ForeignKey, Text from sqlalchemy.orm import validates diff --git a/stalker/testing.py b/stalker/testing.py index 01469f7..f317e7b 100644 --- a/stalker/testing.py +++ b/stalker/testing.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see """Helper classes for testing """ diff --git a/tests/__init__.py b/tests/__init__.py index 3cfe6bf..5d24942 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/config/__init__.py b/tests/config/__init__.py index a18f345..19a9dc5 100644 --- a/tests/config/__init__.py +++ b/tests/config/__init__.py @@ -4,16 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see diff --git a/tests/config/test_config.py b/tests/config/test_config.py index 140f968..67c6659 100644 --- a/tests/config/test_config.py +++ b/tests/config/test_config.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import os import shutil diff --git a/tests/db/__init__.py b/tests/db/__init__.py index d5d281c..19a9dc5 100644 --- a/tests/db/__init__.py +++ b/tests/db/__init__.py @@ -4,17 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see diff --git a/tests/db/test_db.py b/tests/db/test_db.py index ba6730d..7ea719a 100644 --- a/tests/db/test_db.py +++ b/tests/db/test_db.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import logging diff --git a/tests/db/test_generic_db.py b/tests/db/test_generic_db.py index 68fb469..3139538 100644 --- a/tests/db/test_generic_db.py +++ b/tests/db/test_generic_db.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from stalker import db, User from stalker.models.asset import Asset diff --git a/tests/mixins/__init__.py b/tests/mixins/__init__.py index a18f345..19a9dc5 100644 --- a/tests/mixins/__init__.py +++ b/tests/mixins/__init__.py @@ -4,16 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see diff --git a/tests/mixins/test_aclMixin.py b/tests/mixins/test_aclMixin.py index 0afe197..c502f89 100644 --- a/tests/mixins/test_aclMixin.py +++ b/tests/mixins/test_aclMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_amountMixin.py b/tests/mixins/test_amountMixin.py index 99d2525..74966c1 100644 --- a/tests/mixins/test_amountMixin.py +++ b/tests/mixins/test_amountMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import AmountMixin, SimpleEntity diff --git a/tests/mixins/test_codeMixin.py b/tests/mixins/test_codeMixin.py index dc9cc70..51b99c5 100644 --- a/tests/mixins/test_codeMixin.py +++ b/tests/mixins/test_codeMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_dagMixin.py b/tests/mixins/test_dagMixin.py index ff8544f..a9ee462 100644 --- a/tests/mixins/test_dagMixin.py +++ b/tests/mixins/test_dagMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_dateRangeMixin.py b/tests/mixins/test_dateRangeMixin.py index a59ad1f..ce2618e 100644 --- a/tests/mixins/test_dateRangeMixin.py +++ b/tests/mixins/test_dateRangeMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import unittest diff --git a/tests/mixins/test_declarativeProjectMixin.py b/tests/mixins/test_declarativeProjectMixin.py index aa83aac..3ce99ec 100644 --- a/tests/mixins/test_declarativeProjectMixin.py +++ b/tests/mixins/test_declarativeProjectMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from sqlalchemy import Column, Integer, ForeignKey diff --git a/tests/mixins/test_declarativeReferenceMixin.py b/tests/mixins/test_declarativeReferenceMixin.py index 93a8f1a..bfafa00 100644 --- a/tests/mixins/test_declarativeReferenceMixin.py +++ b/tests/mixins/test_declarativeReferenceMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_declarativeScheduleMixin.py b/tests/mixins/test_declarativeScheduleMixin.py index 20b8efd..6ca8b12 100644 --- a/tests/mixins/test_declarativeScheduleMixin.py +++ b/tests/mixins/test_declarativeScheduleMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/mixins/test_declarativeStatusMixin.py b/tests/mixins/test_declarativeStatusMixin.py index f781ae0..8dfc812 100644 --- a/tests/mixins/test_declarativeStatusMixin.py +++ b/tests/mixins/test_declarativeStatusMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_projectMixin.py b/tests/mixins/test_projectMixin.py index 59b0578..0095f31 100644 --- a/tests/mixins/test_projectMixin.py +++ b/tests/mixins/test_projectMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_referenceMixin.py b/tests/mixins/test_referenceMixin.py index 5e72be0..9cac0f5 100644 --- a/tests/mixins/test_referenceMixin.py +++ b/tests/mixins/test_referenceMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_statusMixin.py b/tests/mixins/test_statusMixin.py index 69529e9..7dd17d5 100644 --- a/tests/mixins/test_statusMixin.py +++ b/tests/mixins/test_statusMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from sqlalchemy import Column, Integer, ForeignKey diff --git a/tests/mixins/test_targetEntityTypeMixin.py b/tests/mixins/test_targetEntityTypeMixin.py index d329485..211d7aa 100644 --- a/tests/mixins/test_targetEntityTypeMixin.py +++ b/tests/mixins/test_targetEntityTypeMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/mixins/test_unitMixin.py b/tests/mixins/test_unitMixin.py index b1cc056..94eaec8 100644 --- a/tests/mixins/test_unitMixin.py +++ b/tests/mixins/test_unitMixin.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import UnitMixin, SimpleEntity diff --git a/tests/mixins/test_validate_with_query.py b/tests/mixins/test_validate_with_query.py index 5a2c21d..540c652 100644 --- a/tests/mixins/test_validate_with_query.py +++ b/tests/mixins/test_validate_with_query.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy.engine import create_engine from sqlalchemy.ext.declarative import declarative_base, declared_attr diff --git a/tests/models/__init__.py b/tests/models/__init__.py index a18f345..19a9dc5 100644 --- a/tests/models/__init__.py +++ b/tests/models/__init__.py @@ -4,16 +4,14 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see diff --git a/tests/models/test_asset.py b/tests/models/test_asset.py index 892aafa..9c0bda2 100644 --- a/tests/models/test_asset.py +++ b/tests/models/test_asset.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import (db, Asset, Entity, Project, Repository, Sequence, Status, diff --git a/tests/models/test_authentication_log.py b/tests/models/test_authentication_log.py index 65e9360..1e99022 100644 --- a/tests/models/test_authentication_log.py +++ b/tests/models/test_authentication_log.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from stalker.testing import UnitTestBase diff --git a/tests/models/test_budget.py b/tests/models/test_budget.py index c2c3b50..8d69943 100644 --- a/tests/models/test_budget.py +++ b/tests/models/test_budget.py @@ -4,19 +4,18 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see + import tempfile import unittest import datetime diff --git a/tests/models/test_client.py b/tests/models/test_client.py index d1b3025..3616051 100644 --- a/tests/models/test_client.py +++ b/tests/models/test_client.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_client_user.py b/tests/models/test_client_user.py index f8fc890..6c2f87e 100644 --- a/tests/models/test_client_user.py +++ b/tests/models/test_client_user.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import ClientUser diff --git a/tests/models/test_daily.py b/tests/models/test_daily.py index 067fc4e..4c6377c 100644 --- a/tests/models/test_daily.py +++ b/tests/models/test_daily.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import (db, Daily, Project, Repository, Status, StatusList, Task, diff --git a/tests/models/test_department.py b/tests/models/test_department.py index 7767234..32e7960 100644 --- a/tests/models/test_department.py +++ b/tests/models/test_department.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_department_user.py b/tests/models/test_department_user.py index eee9450..448df9a 100644 --- a/tests/models/test_department_user.py +++ b/tests/models/test_department_user.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import DepartmentUser diff --git a/tests/models/test_entity.py b/tests/models/test_entity.py index c030d24..e2a2cb5 100644 --- a/tests/models/test_entity.py +++ b/tests/models/test_entity.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Entity, Note, Tag, User diff --git a/tests/models/test_entity_group.py b/tests/models/test_entity_group.py index 812bc00..54cd244 100644 --- a/tests/models/test_entity_group.py +++ b/tests/models/test_entity_group.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_filename_template.py b/tests/models/test_filename_template.py index 143b98f..65b999a 100644 --- a/tests/models/test_filename_template.py +++ b/tests/models/test_filename_template.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Entity, FilenameTemplate, Type diff --git a/tests/models/test_generic.py b/tests/models/test_generic.py index e042b09..7e82f06 100644 --- a/tests/models/test_generic.py +++ b/tests/models/test_generic.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_good.py b/tests/models/test_good.py index 0a49559..a5341c8 100644 --- a/tests/models/test_good.py +++ b/tests/models/test_good.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker.models.budget import Good diff --git a/tests/models/test_group.py b/tests/models/test_group.py index d5d9a88..094f398 100644 --- a/tests/models/test_group.py +++ b/tests/models/test_group.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker.db import DBSession diff --git a/tests/models/test_image_format.py b/tests/models/test_image_format.py index f35bdca..e8fa5d4 100644 --- a/tests/models/test_image_format.py +++ b/tests/models/test_image_format.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import ImageFormat diff --git a/tests/models/test_invoice.py b/tests/models/test_invoice.py index b016bf5..1dfeeed 100644 --- a/tests/models/test_invoice.py +++ b/tests/models/test_invoice.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_link.py b/tests/models/test_link.py index 07cb252..ae8bb25 100644 --- a/tests/models/test_link.py +++ b/tests/models/test_link.py @@ -4,19 +4,18 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see + import os import unittest diff --git a/tests/models/test_local_session.py b/tests/models/test_local_session.py index f1fa575..acb5623 100644 --- a/tests/models/test_local_session.py +++ b/tests/models/test_local_session.py @@ -4,19 +4,18 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see + import json import os diff --git a/tests/models/test_message.py b/tests/models/test_message.py index 58e4e1a..c622d1b 100644 --- a/tests/models/test_message.py +++ b/tests/models/test_message.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Message diff --git a/tests/models/test_note.py b/tests/models/test_note.py index 20d6a5c..1835f63 100644 --- a/tests/models/test_note.py +++ b/tests/models/test_note.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Note diff --git a/tests/models/test_payment.py b/tests/models/test_payment.py index 8e0735f..0bf2524 100644 --- a/tests/models/test_payment.py +++ b/tests/models/test_payment.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_permission.py b/tests/models/test_permission.py index 837da69..467cadb 100644 --- a/tests/models/test_permission.py +++ b/tests/models/test_permission.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_price_list.py b/tests/models/test_price_list.py index af155b3..00b1f1d 100644 --- a/tests/models/test_price_list.py +++ b/tests/models/test_price_list.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import PriceList, Good diff --git a/tests/models/test_project.py b/tests/models/test_project.py index 122794f..55eedff 100644 --- a/tests/models/test_project.py +++ b/tests/models/test_project.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import unittest diff --git a/tests/models/test_project_client.py b/tests/models/test_project_client.py index f7d1d19..7711569 100644 --- a/tests/models/test_project_client.py +++ b/tests/models/test_project_client.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import ProjectClient diff --git a/tests/models/test_project_user.py b/tests/models/test_project_user.py index 2f73ad4..e1ca2c7 100644 --- a/tests/models/test_project_user.py +++ b/tests/models/test_project_user.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import ProjectUser diff --git a/tests/models/test_repository.py b/tests/models/test_repository.py index 4405445..4d81c8c 100644 --- a/tests/models/test_repository.py +++ b/tests/models/test_repository.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import platform diff --git a/tests/models/test_review.py b/tests/models/test_review.py index c0b0981..b210175 100644 --- a/tests/models/test_review.py +++ b/tests/models/test_review.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import tempfile import unittest diff --git a/tests/models/test_role.py b/tests/models/test_role.py index ec99fa7..a6de71e 100644 --- a/tests/models/test_role.py +++ b/tests/models/test_role.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_scene.py b/tests/models/test_scene.py index 9522230..db67837 100644 --- a/tests/models/test_scene.py +++ b/tests/models/test_scene.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_schedulers.py b/tests/models/test_schedulers.py index 57ba3be..90d1b53 100644 --- a/tests/models/test_schedulers.py +++ b/tests/models/test_schedulers.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_sequence.py b/tests/models/test_sequence.py index 5859bf6..ff978a9 100644 --- a/tests/models/test_sequence.py +++ b/tests/models/test_sequence.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_shot.py b/tests/models/test_shot.py index 9fda975..8958fb6 100644 --- a/tests/models/test_shot.py +++ b/tests/models/test_shot.py @@ -4,19 +4,18 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see + import os import tempfile diff --git a/tests/models/test_simple_entity.py b/tests/models/test_simple_entity.py index 95dbd1b..4b79be6 100644 --- a/tests/models/test_simple_entity.py +++ b/tests/models/test_simple_entity.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_status.py b/tests/models/test_status.py index 8fb061e..fd23ab0 100644 --- a/tests/models/test_status.py +++ b/tests/models/test_status.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Entity, Status diff --git a/tests/models/test_status_list.py b/tests/models/test_status_list.py index a7bc6c5..bf05b8d 100644 --- a/tests/models/test_status_list.py +++ b/tests/models/test_status_list.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Status, StatusList diff --git a/tests/models/test_structure.py b/tests/models/test_structure.py index ab5b3f9..761fb4c 100644 --- a/tests/models/test_structure.py +++ b/tests/models/test_structure.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Structure, FilenameTemplate, Type diff --git a/tests/models/test_studio.py b/tests/models/test_studio.py index 1dacefe..6d5add7 100644 --- a/tests/models/test_studio.py +++ b/tests/models/test_studio.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_tag.py b/tests/models/test_tag.py index 13e2f24..04298ab 100644 --- a/tests/models/test_tag.py +++ b/tests/models/test_tag.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Tag, SimpleEntity diff --git a/tests/models/test_task.py b/tests/models/test_task.py index db92a3e..1686d20 100644 --- a/tests/models/test_task.py +++ b/tests/models/test_task.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import copy import datetime diff --git a/tests/models/test_taskJuggler_scheduler.py b/tests/models/test_taskJuggler_scheduler.py index 6707e07..a2c22de 100644 --- a/tests/models/test_taskJuggler_scheduler.py +++ b/tests/models/test_taskJuggler_scheduler.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import unittest diff --git a/tests/models/test_task_dependency.py b/tests/models/test_task_dependency.py index 6606d5a..507c36f 100644 --- a/tests/models/test_task_dependency.py +++ b/tests/models/test_task_dependency.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see from sqlalchemy.exc import IntegrityError import unittest diff --git a/tests/models/test_ticket.py b/tests/models/test_ticket.py index 66c21a1..8c69471 100644 --- a/tests/models/test_ticket.py +++ b/tests/models/test_ticket.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_time_log.py b/tests/models/test_time_log.py index 3b44074..cfe70e7 100644 --- a/tests/models/test_time_log.py +++ b/tests/models/test_time_log.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest import datetime diff --git a/tests/models/test_type.py b/tests/models/test_type.py index 894cc24..92a2f72 100644 --- a/tests/models/test_type.py +++ b/tests/models/test_type.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Entity, Type diff --git a/tests/models/test_user.py b/tests/models/test_user.py index e4b7346..4177f73 100644 --- a/tests/models/test_user.py +++ b/tests/models/test_user.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest diff --git a/tests/models/test_vacation.py b/tests/models/test_vacation.py index 7d5bcd8..6b21931 100644 --- a/tests/models/test_vacation.py +++ b/tests/models/test_vacation.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import datetime import unittest diff --git a/tests/models/test_version.py b/tests/models/test_version.py index ea5648d..40e0318 100644 --- a/tests/models/test_version.py +++ b/tests/models/test_version.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker.db.session import DBSession diff --git a/tests/models/test_wiki.py b/tests/models/test_wiki.py index 916e236..d9561fa 100644 --- a/tests/models/test_wiki.py +++ b/tests/models/test_wiki.py @@ -4,19 +4,17 @@ # # This file is part of Stalker. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. +# Stalker is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License. # -# This library is distributed in the hope that it will be useful, +# Stalker 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 -# Lesser General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. # -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the Lesser GNU General Public License +# along with Stalker. If not, see import unittest from stalker import Type, Repository, Status, StatusList, Project diff --git a/tests/test_declerative.py b/tests/test_declerative.py deleted file mode 100644 index f156dbc..0000000 --- a/tests/test_declerative.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Stalker a Production Asset Management System -# Copyright (C) 2009-2016 Erkan Ozgur Yilmaz -# -# This file is part of Stalker. -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; -# version 2.1 of the License. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -#from stalker import db -#from stalker import User - -## create engine -#db.setup("sqlite:////tmp/declarative_test.db") - -#new_user = User(name="ozgur") -#session.add(new_user) -#session.commit()