summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2018-05-12 18:38:37 +0200
committernicolargo <nicolas@nicolargo.com>2018-05-12 18:38:37 +0200
commit33d20ab36f27d0a129122526fd625ca2c3914fce (patch)
treefb0f3c4b000cdf91ebaef2bad9124c1fe6a89f41
parent0d7dd3df7f18974882ff4f4f16c4b9009a61f1b4 (diff)
Change copyright year to 2018
-rw-r--r--glances/__init__.py2
-rw-r--r--glances/__main__.py2
-rw-r--r--glances/actions.py2
-rw-r--r--glances/amps/glances_amp.py2
-rw-r--r--glances/amps/glances_default.py2
-rw-r--r--glances/amps/glances_nginx.py2
-rw-r--r--glances/amps/glances_systemd.py2
-rw-r--r--glances/amps/glances_systemv.py2
-rw-r--r--glances/amps_list.py4
-rw-r--r--glances/attribute.py2
-rw-r--r--glances/autodiscover.py2
-rw-r--r--glances/client.py2
-rw-r--r--glances/client_browser.py2
-rw-r--r--glances/compat.py2
-rw-r--r--glances/config.py2
-rw-r--r--glances/cpu_percent.py2
-rw-r--r--glances/exports/glances_cassandra.py2
-rw-r--r--glances/exports/glances_couchdb.py2
-rw-r--r--glances/exports/glances_csv.py2
-rw-r--r--glances/exports/glances_elasticsearch.py2
-rw-r--r--glances/exports/glances_export.py2
-rw-r--r--glances/exports/glances_influxdb.py2
-rw-r--r--glances/exports/glances_kafka.py2
-rw-r--r--glances/exports/glances_opentsdb.py2
-rw-r--r--glances/exports/glances_prometheus.py2
-rw-r--r--glances/exports/glances_rabbitmq.py2
-rw-r--r--glances/exports/glances_restful.py2
-rw-r--r--glances/exports/glances_riemann.py2
-rw-r--r--glances/exports/glances_statsd.py2
-rw-r--r--glances/exports/glances_zeromq.py2
-rw-r--r--glances/filter.py2
-rw-r--r--glances/folder_list.py2
-rw-r--r--glances/globals.py2
-rw-r--r--glances/history.py2
-rw-r--r--glances/logger.py2
-rw-r--r--glances/logs.py2
-rw-r--r--glances/main.py2
-rw-r--r--glances/outdated.py2
-rw-r--r--glances/outputs/glances_bars.py2
-rw-r--r--glances/outputs/glances_bottle.py2
-rw-r--r--glances/outputs/glances_curses_browser.py2
-rw-r--r--glances/password.py2
-rw-r--r--glances/password_list.py2
-rw-r--r--glances/plugins/glances_alert.py2
-rw-r--r--glances/plugins/glances_cloud.py2
-rw-r--r--glances/plugins/glances_cpu.py2
-rw-r--r--glances/plugins/glances_diskio.py2
-rw-r--r--glances/plugins/glances_docker.py2
-rw-r--r--glances/plugins/glances_folders.py2
-rw-r--r--glances/plugins/glances_fs.py2
-rw-r--r--glances/plugins/glances_hddtemp.py2
-rw-r--r--glances/plugins/glances_help.py2
-rw-r--r--glances/plugins/glances_ip.py2
-rw-r--r--glances/plugins/glances_irq.py2
-rw-r--r--glances/plugins/glances_load.py2
-rw-r--r--glances/plugins/glances_mem.py2
-rw-r--r--glances/plugins/glances_memswap.py2
-rw-r--r--glances/plugins/glances_network.py2
-rw-r--r--glances/plugins/glances_now.py2
-rw-r--r--glances/plugins/glances_percpu.py2
-rw-r--r--glances/plugins/glances_plugin.py2
-rw-r--r--glances/plugins/glances_ports.py2
-rw-r--r--glances/plugins/glances_processcount.py2
-rw-r--r--glances/plugins/glances_processlist.py7
-rw-r--r--glances/plugins/glances_psutilversion.py2
-rw-r--r--glances/plugins/glances_quicklook.py2
-rw-r--r--glances/plugins/glances_raid.py2
-rw-r--r--glances/plugins/glances_sensors.py2
-rw-r--r--glances/plugins/glances_system.py2
-rw-r--r--glances/plugins/glances_uptime.py2
-rw-r--r--glances/plugins/glances_wifi.py2
-rw-r--r--glances/ports_list.py2
-rw-r--r--glances/processes.py19
-rw-r--r--glances/server.py2
-rw-r--r--glances/snmp.py2
-rw-r--r--glances/standalone.py2
-rw-r--r--glances/static_list.py2
-rw-r--r--glances/stats.py2
-rw-r--r--glances/stats_client.py2
-rw-r--r--glances/stats_client_snmp.py2
-rw-r--r--glances/stats_server.py2
-rw-r--r--glances/thresholds.py2
-rw-r--r--glances/timer.py2
-rw-r--r--glances/web_list.py2
-rw-r--r--glances/webserver.py2
-rwxr-xr-xunitest-restful.py2
-rwxr-xr-xunitest-xmlrpc.py2
-rwxr-xr-xunitest.py2
88 files changed, 104 insertions, 96 deletions
diff --git a/glances/__init__.py b/glances/__init__.py
index 1eb6e55b..f28045f0 100644
--- a/glances/__init__.py
+++ b/glances/__init__.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/__main__.py b/glances/__main__.py
index 1385f92f..926f5c5e 100644
--- a/glances/__main__.py
+++ b/glances/__main__.py
@@ -3,7 +3,7 @@
#
# Glances - An eye on your system
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/actions.py b/glances/actions.py
index 68f9ba7c..c8b60d26 100644
--- a/glances/actions.py
+++ b/glances/actions.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps/glances_amp.py b/glances/amps/glances_amp.py
index b814aaa2..fad142b5 100644
--- a/glances/amps/glances_amp.py
+++ b/glances/amps/glances_amp.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps/glances_default.py b/glances/amps/glances_default.py
index a7bb8ce6..ea3e9879 100644
--- a/glances/amps/glances_default.py
+++ b/glances/amps/glances_default.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps/glances_nginx.py b/glances/amps/glances_nginx.py
index fccd2cd6..b5b499d2 100644
--- a/glances/amps/glances_nginx.py
+++ b/glances/amps/glances_nginx.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps/glances_systemd.py b/glances/amps/glances_systemd.py
index 28af65f9..d8cc676b 100644
--- a/glances/amps/glances_systemd.py
+++ b/glances/amps/glances_systemd.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps/glances_systemv.py b/glances/amps/glances_systemv.py
index 8393e517..4edf428d 100644
--- a/glances/amps/glances_systemv.py
+++ b/glances/amps/glances_systemv.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/amps_list.py b/glances/amps_list.py
index 3e1152be..365d4c52 100644
--- a/glances/amps_list.py
+++ b/glances/amps_list.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
@@ -113,7 +113,7 @@ class AmpsList(object):
continue
try:
amps_list = [p for p in processlist for c in p['cmdline'] if re.search(v.regex(), c) is not None]
- except TypeError:
+ except (TypeError, KeyError):
continue
if len(amps_list) > 0:
# At least one process is matching the regex
diff --git a/glances/attribute.py b/glances/attribute.py
index 5f4472d2..cb129110 100644
--- a/glances/attribute.py
+++ b/glances/attribute.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/autodiscover.py b/glances/autodiscover.py
index 52f799e9..8742b4b0 100644
--- a/glances/autodiscover.py
+++ b/glances/autodiscover.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/client.py b/glances/client.py
index 29b54256..097b0aa4 100644
--- a/glances/client.py
+++ b/glances/client.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/client_browser.py b/glances/client_browser.py
index 3f08c8f3..38c91e44 100644
--- a/glances/client_browser.py
+++ b/glances/client_browser.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/compat.py b/glances/compat.py
index 4e50df22..3563810a 100644
--- a/glances/compat.py
+++ b/glances/compat.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/config.py b/glances/config.py
index 78975fcd..68f7755d 100644
--- a/glances/config.py
+++ b/glances/config.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/cpu_percent.py b/glances/cpu_percent.py
index 6939d2ff..a2a3fc7f 100644
--- a/glances/cpu_percent.py
+++ b/glances/cpu_percent.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_cassandra.py b/glances/exports/glances_cassandra.py
index f5a36fb6..4f25aaad 100644
--- a/glances/exports/glances_cassandra.py
+++ b/glances/exports/glances_cassandra.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_couchdb.py b/glances/exports/glances_couchdb.py
index a8a38914..87fe01f4 100644
--- a/glances/exports/glances_couchdb.py
+++ b/glances/exports/glances_couchdb.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_csv.py b/glances/exports/glances_csv.py
index 60a915d4..7df52977 100644
--- a/glances/exports/glances_csv.py
+++ b/glances/exports/glances_csv.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_elasticsearch.py b/glances/exports/glances_elasticsearch.py
index 11bc6ea1..c1282c11 100644
--- a/glances/exports/glances_elasticsearch.py
+++ b/glances/exports/glances_elasticsearch.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_export.py b/glances/exports/glances_export.py
index d05826f9..d871effc 100644
--- a/glances/exports/glances_export.py
+++ b/glances/exports/glances_export.py
@@ -2,7 +2,7 @@
#
# This file is part of Glances.
#
-# Copyright (C) 2017 Nicolargo <nicolas@nicolargo.com>
+# Copyright (C) 2018 Nicolargo <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
diff --git a/glances/exports/glances_influxdb.py b/glances/exports/glances_influxdb.py
index 7a204ce5..e14a24e2 100644
--- a/