From 7a6fca2f99c2131d9deb91e6d30d2ec6fe93d91b Mon Sep 17 00:00:00 2001 From: howardlee Date: Mon, 21 Nov 2016 11:12:18 +0800 Subject: [PATCH] Remove vim header [H106] Don't put vim configuration in source files (off by default). http://docs.openstack.org/developer/hacking/#general Change-Id: I3d3d46a8a2d7547288d0611e5160d684a69ef7b1 --- monitoring/alarmdefs/constants.py | 2 -- monitoring/alarmdefs/forms.py | 2 -- monitoring/alarmdefs/panel.py | 2 -- monitoring/alarmdefs/tables.py | 2 -- monitoring/alarmdefs/urls.py | 2 -- monitoring/alarmdefs/views.py | 2 -- monitoring/alarms/constants.py | 2 -- monitoring/alarms/forms.py | 2 -- monitoring/alarms/panel.py | 2 -- monitoring/alarms/tables.py | 2 -- monitoring/alarms/urls.py | 2 -- monitoring/alarms/views.py | 2 -- monitoring/api/monitor.py | 2 -- monitoring/dashboard.py | 2 -- monitoring/models.py | 2 -- monitoring/notifications/constants.py | 2 -- monitoring/notifications/forms.py | 2 -- monitoring/notifications/panel.py | 4 +--- monitoring/notifications/tables.py | 2 -- monitoring/notifications/urls.py | 3 +-- monitoring/notifications/views.py | 2 -- monitoring/overview/constants.py | 2 -- monitoring/overview/panel.py | 2 -- monitoring/overview/urls.py | 3 +-- monitoring/overview/views.py | 2 -- 25 files changed, 3 insertions(+), 51 deletions(-) diff --git a/monitoring/alarmdefs/constants.py b/monitoring/alarmdefs/constants.py index d149386f..7e2f2195 100644 --- a/monitoring/alarmdefs/constants.py +++ b/monitoring/alarmdefs/constants.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarmdefs/forms.py b/monitoring/alarmdefs/forms.py index 5f5dde3d..659035bd 100644 --- a/monitoring/alarmdefs/forms.py +++ b/monitoring/alarmdefs/forms.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarmdefs/panel.py b/monitoring/alarmdefs/panel.py index 0113caac..4d287e0e 100644 --- a/monitoring/alarmdefs/panel.py +++ b/monitoring/alarmdefs/panel.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarmdefs/tables.py b/monitoring/alarmdefs/tables.py index a1215d10..58955091 100644 --- a/monitoring/alarmdefs/tables.py +++ b/monitoring/alarmdefs/tables.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarmdefs/urls.py b/monitoring/alarmdefs/urls.py index 1b5e7853..7e949aa0 100644 --- a/monitoring/alarmdefs/urls.py +++ b/monitoring/alarmdefs/urls.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarmdefs/views.py b/monitoring/alarmdefs/views.py index dae92618..562361f9 100644 --- a/monitoring/alarmdefs/views.py +++ b/monitoring/alarmdefs/views.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarms/constants.py b/monitoring/alarms/constants.py index 8339b580..233febbe 100644 --- a/monitoring/alarms/constants.py +++ b/monitoring/alarms/constants.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarms/forms.py b/monitoring/alarms/forms.py index 121f4d64..3d00ab04 100644 --- a/monitoring/alarms/forms.py +++ b/monitoring/alarms/forms.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarms/panel.py b/monitoring/alarms/panel.py index 154856bd..9b83ad17 100644 --- a/monitoring/alarms/panel.py +++ b/monitoring/alarms/panel.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarms/tables.py b/monitoring/alarms/tables.py index a01ce02f..b3b406fe 100644 --- a/monitoring/alarms/tables.py +++ b/monitoring/alarms/tables.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # Copyright 2016 Cray Inc. All rights reserved. # diff --git a/monitoring/alarms/urls.py b/monitoring/alarms/urls.py index b64e9ff7..05af3470 100644 --- a/monitoring/alarms/urls.py +++ b/monitoring/alarms/urls.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/alarms/views.py b/monitoring/alarms/views.py index 177a497b..c297d4ad 100644 --- a/monitoring/alarms/views.py +++ b/monitoring/alarms/views.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/api/monitor.py b/monitoring/api/monitor.py index c35679c6..1207ca67 100644 --- a/monitoring/api/monitor.py +++ b/monitoring/api/monitor.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/monitoring/dashboard.py b/monitoring/dashboard.py index 3c623e77..99523b05 100644 --- a/monitoring/dashboard.py +++ b/monitoring/dashboard.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/models.py b/monitoring/models.py index 6313a32f..63e0b0f0 100644 --- a/monitoring/models.py +++ b/monitoring/models.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. diff --git a/monitoring/notifications/constants.py b/monitoring/notifications/constants.py index 5a4de59f..86ea4126 100644 --- a/monitoring/notifications/constants.py +++ b/monitoring/notifications/constants.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/notifications/forms.py b/monitoring/notifications/forms.py index ea6bbadc..d0cecdbe 100644 --- a/monitoring/notifications/forms.py +++ b/monitoring/notifications/forms.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/notifications/panel.py b/monitoring/notifications/panel.py index f2e8b8e5..8558a208 100644 --- a/monitoring/notifications/panel.py +++ b/monitoring/notifications/panel.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -25,4 +23,4 @@ class Notifications(horizon.Panel): slug = 'notifications' -dashboard.Monitoring.register(Notifications) \ No newline at end of file +dashboard.Monitoring.register(Notifications) diff --git a/monitoring/notifications/tables.py b/monitoring/notifications/tables.py index f1ec5472..3d7ac612 100644 --- a/monitoring/notifications/tables.py +++ b/monitoring/notifications/tables.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/notifications/urls.py b/monitoring/notifications/urls.py index f05191d5..61a71a33 100644 --- a/monitoring/notifications/urls.py +++ b/monitoring/notifications/urls.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,6 +11,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. + from django.conf.urls import patterns # noqa from django.conf.urls import url # noqa diff --git a/monitoring/notifications/views.py b/monitoring/notifications/views.py index 0cbd316f..624ece4c 100644 --- a/monitoring/notifications/views.py +++ b/monitoring/notifications/views.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/overview/constants.py b/monitoring/overview/constants.py index 343226bb..c9c65ee2 100644 --- a/monitoring/overview/constants.py +++ b/monitoring/overview/constants.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/overview/panel.py b/monitoring/overview/panel.py index 57fb1c12..216e3786 100644 --- a/monitoring/overview/panel.py +++ b/monitoring/overview/panel.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/monitoring/overview/urls.py b/monitoring/overview/urls.py index 0c9f7b9d..c95b576b 100644 --- a/monitoring/overview/urls.py +++ b/monitoring/overview/urls.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -13,6 +11,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. + from django.conf.urls import patterns # noqa from django.conf.urls import url # noqa diff --git a/monitoring/overview/views.py b/monitoring/overview/views.py index 88459482..cac88329 100644 --- a/monitoring/overview/views.py +++ b/monitoring/overview/views.py @@ -1,5 +1,3 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may