Browse Source

Cleanup vim settings

This patch cleans up vim settings in .py files.
Settings should be handled in local settings.

Change-Id: I3dcb1b062cb5f51e59bf6e7463a4fedc2c283491
changes/99/298199/1
Martin Oemke 6 years ago
parent
commit
d517c24e00
  1. 2
      tacker/__init__.py
  2. 2
      tacker/agent/common/config.py
  3. 2
      tacker/agent/linux/async_process.py
  4. 2
      tacker/agent/linux/daemon.py
  5. 2
      tacker/agent/linux/external_process.py
  6. 2
      tacker/agent/linux/interface.py
  7. 1
      tacker/agent/linux/ip_lib.py
  8. 2
      tacker/agent/linux/polling.py
  9. 2
      tacker/agent/linux/utils.py
  10. 2
      tacker/agent/rpc.py
  11. 2
      tacker/api/v1/attributes.py
  12. 2
      tacker/api/v1/base.py
  13. 2
      tacker/api/views/versions.py
  14. 2
      tacker/auth.py
  15. 2
      tacker/common/driver_manager.py
  16. 2
      tacker/common/rpc.py
  17. 2
      tacker/common/test_lib.py
  18. 2
      tacker/context.py
  19. 2
      tacker/db/migration/alembic_migrations/versions/1c6b0d82afcd_servicevm_framework.py
  20. 2
      tacker/db/vm/vm_db.py
  21. 2
      tacker/hooks.py
  22. 2
      tacker/openstack/common/context.py
  23. 2
      tacker/openstack/common/policy.py
  24. 2
      tacker/plugins/common/constants.py
  25. 2
      tacker/plugins/common/utils.py
  26. 2
      tacker/policy.py
  27. 2
      tacker/services/service_base.py
  28. 2
      tacker/tests/base.py
  29. 2
      tacker/tests/post_mortem_debug.py
  30. 2
      tacker/tests/unit/__init__.py
  31. 2
      tacker/tests/unit/_test_rootwrap_exec.py
  32. 2
      tacker/tests/unit/agent/linux/test_async_process.py
  33. 2
      tacker/tests/unit/database_stubs.py
  34. 1
      tacker/tests/unit/extension_stubs.py
  35. 2
      tacker/tests/unit/extensions/extendedattribute.py
  36. 2
      tacker/tests/unit/extensions/extensionattribute.py
  37. 2
      tacker/tests/unit/extensions/foxinsocks.py
  38. 2
      tacker/tests/unit/services/vm/test_servicevm_extension.py
  39. 2
      tacker/tests/unit/test_api_api_common.py
  40. 2
      tacker/tests/unit/test_api_v2.py
  41. 2
      tacker/tests/unit/test_api_v2_resource.py
  42. 2
      tacker/tests/unit/test_attributes.py
  43. 2
      tacker/tests/unit/test_auth.py
  44. 2
      tacker/tests/unit/test_db_migration.py
  45. 2
      tacker/tests/unit/test_extension_extended_attribute.py
  46. 2
      tacker/tests/unit/test_extensions.py
  47. 2
      tacker/tests/unit/test_post_mortem_debug.py
  48. 2
      tacker/tests/unit/test_wsgi.py
  49. 2
      tacker/version.py
  50. 2
      tacker/vm/constants.py
  51. 2
      tacker/vm/hosting_device_scheduler.py
  52. 2
      tacker/vm/infra_drivers/abstract_driver.py
  53. 2
      tacker/vm/infra_drivers/heat/heat.py
  54. 2
      tacker/vm/infra_drivers/noop.py
  55. 2
      tacker/vm/infra_drivers/nova/nova.py
  56. 2
      tacker/vm/mgmt_drivers/abstract_driver.py
  57. 2
      tacker/vm/mgmt_drivers/constants.py
  58. 2
      tacker/vm/mgmt_drivers/noop.py
  59. 3
      tacker/vm/monitor_drivers/abstract_driver.py
  60. 2
      tacker/vm/plugin.py
  61. 2
      tacker/wsgi.py
  62. 3
      tools/check_i18n.py
  63. 1
      tools/install_venv.py
  64. 2
      tools/install_venv_common.py
  65. 1
      tools/with_venv.sh

2
tacker/__init__.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/agent/common/config.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/agent/linux/async_process.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/agent/linux/daemon.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2012 New Dream Network, LLC (DreamHost)
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/agent/linux/external_process.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2012 New Dream Network, LLC (DreamHost)
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/agent/linux/interface.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#

1
tacker/agent/linux/ip_lib.py

@ -1,4 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/agent/linux/polling.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/agent/linux/utils.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Locaweb.
# All Rights Reserved.
#

2
tacker/agent/rpc.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/api/v1/attributes.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/api/v1/base.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/api/views/versions.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010-2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/auth.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/common/driver_manager.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/common/rpc.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/common/test_lib.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2010 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/context.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/db/migration/alembic_migrations/versions/1c6b0d82afcd_servicevm_framework.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013 Intel Corporation.
# Copyright 2013 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/db/vm/vm_db.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/hooks.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#

2
tacker/openstack/common/context.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/openstack/common/policy.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/plugins/common/constants.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/plugins/common/utils.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Cisco Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/policy.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/services/service_base.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/base.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010-2011 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/tests/post_mortem_debug.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.
# All Rights Reserved.
#

2
tacker/tests/unit/__init__.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/unit/_test_rootwrap_exec.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/tests/unit/agent/linux/test_async_process.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/tests/unit/database_stubs.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011, Cisco Systems, Inc.
# All Rights Reserved.
#

1
tacker/tests/unit/extension_stubs.py

@ -1,4 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/unit/extensions/extendedattribute.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013 VMware, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/tests/unit/extensions/extensionattribute.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 VMware, Inc.
# All rights reserved.
#

2
tacker/tests/unit/extensions/foxinsocks.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/unit/services/vm/test_servicevm_extension.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2014 Intel Corporation.
# Copyright 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/tests/unit/test_api_api_common.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2013 Intel Corporation.
# All Rights Reserved.
#

2
tacker/tests/unit/test_api_v2.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/unit/test_api_v2_resource.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Intel Corporation.
# All Rights Reserved.
#

2
tacker/tests/unit/test_attributes.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/tests/unit/test_auth.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#

2
tacker/tests/unit/test_db_migration.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2012 New Dream Network, LLC (DreamHost)
# All Rights Reserved.
#

2
tacker/tests/unit/test_extension_extended_attribute.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 VMware, Inc
# All Rights Reserved.
#

2
tacker/tests/unit/test_extensions.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/tests/unit/test_post_mortem_debug.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.
# All Rights Reserved.
#

2
tacker/tests/unit/test_wsgi.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 OpenStack Foundation.
# All Rights Reserved.
#

2
tacker/version.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
tacker/vm/constants.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/hosting_device_scheduler.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/infra_drivers/abstract_driver.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/infra_drivers/heat/heat.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2015 Intel Corporation.
# All Rights Reserved.
#

2
tacker/vm/infra_drivers/noop.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/infra_drivers/nova/nova.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/mgmt_drivers/abstract_driver.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/mgmt_drivers/constants.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/vm/mgmt_drivers/noop.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

3
tacker/vm/monitor_drivers/abstract_driver.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# All Rights Reserved.
#
#
@ -14,7 +12,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
import abc

2
tacker/vm/plugin.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2013, 2014 Intel Corporation.
# Copyright 2013, 2014 Isaku Yamahata <isaku.yamahata at intel com>
# <isaku.yamahata at gmail com>

2
tacker/wsgi.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
#

3
tools/check_i18n.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 OpenStack Foundation
#
# 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 __future__ import print_function
import compiler

1
tools/install_venv.py

@ -1,5 +1,4 @@
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.

2
tools/install_venv_common.py

@ -1,5 +1,3 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 OpenStack Foundation
# Copyright 2013 IBM Corp.
#

1
tools/with_venv.sh

@ -1,5 +1,4 @@
#!/bin/bash
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.

Loading…
Cancel
Save