diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-05-12 18:38:37 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-05-12 18:38:37 +0200 |
commit | 33d20ab36f27d0a129122526fd625ca2c3914fce (patch) | |
tree | fb0f3c4b000cdf91ebaef2bad9124c1fe6a89f41 | |
parent | 0d7dd3df7f18974882ff4f4f16c4b9009a61f1b4 (diff) |
Change copyright year to 2018
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 |