summaryrefslogtreecommitdiffstats
path: root/glances/exports/graphite/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/exports/graphite/__init__.py')
-rw-r--r--glances/exports/graphite/__init__.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/glances/exports/graphite/__init__.py b/glances/exports/graphite/__init__.py
index a086e2ba..19c42da8 100644
--- a/glances/exports/graphite/__init__.py
+++ b/glances/exports/graphite/__init__.py
@@ -2,20 +2,10 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2021 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances 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, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances 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 program. If not, see <http://www.gnu.org/licenses/>.
"""Graphite interface class."""
@@ -89,7 +79,6 @@ class Export(GlancesExport):
client = None
else:
logger.info("Stats will be exported to Graphite server: {}:{}".format(self.host, self.port))
-
return client
def export(self, name, columns, points):