Skip to content

Commit

Permalink
Code headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed Jan 5, 2022
1 parent 2b723c1 commit 1fc0f2b
Show file tree
Hide file tree
Showing 28 changed files with 63 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/senaite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

try:
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/behaviors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/behaviors/databox.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import ast
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.browser import add
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.browser import edit
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/folder_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/theme/icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import os
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/viewlets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

PROJECTNAME = "senaite.databox"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/content/databox.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Item
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/content/databoxfolder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Container
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from datetime import datetime
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from zope.interface import Interface
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

ManageDataBox = "senaite.databox: Manage DataBox"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/setuphandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from senaite.databox import logger
Expand Down
19 changes: 19 additions & 0 deletions src/senaite/databox/subscribers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.DATABOX.
#
# SENAITE.DATABOX is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
18 changes: 18 additions & 0 deletions src/senaite/databox/subscribers/upgrade.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.DATABOX.
#
# SENAITE.DATABOX is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims.api import get_portal
from senaite.databox import is_installed
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.app.testing import TEST_USER_ID
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import os
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/test_doctests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

import doctest
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2020 by it's authors.
# Copyright 2018-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
Expand Down

0 comments on commit 1fc0f2b

Please sign in to comment.