summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorliu-sheng <liusheng@huawei.com>2014-01-27 10:38:08 +0800
committerMatthew Gilliard <matthew.gilliard@hp.com>2014-02-03 14:19:44 +0000
commit74f953a1d7cc660696f9fda83e13fe2f2bbae7b2 (patch)
tree9919c686c0d676cf64d3768e3f2931b7097f1613 /tools
parent4b2bd32199eeaaf32958b540ebb0bf3ade6f0b0c (diff)
downloadnova-74f953a1d7cc660696f9fda83e13fe2f2bbae7b2.tar.gz
Remove vi modelines
We don't need to have the vi modelines in each source file, it can be set in a user's vimrc if required. Also a check is added to hacking to detect if they are re-added. Change-Id: I347307a5145b2760c69085b6ca850d6a9137ffc6 Closes-Bug: #1229324
Diffstat (limited to 'tools')
-rwxr-xr-xtools/clean-vlans1
-rwxr-xr-xtools/colorizer.py2
-rwxr-xr-xtools/config/analyze_opts.py2
-rwxr-xr-xtools/db/schema_diff.py3
-rw-r--r--tools/esx/guest_tool.py2
-rw-r--r--tools/install_venv.py2
-rw-r--r--tools/install_venv_common.py2
-rwxr-xr-xtools/lintstack.py2
-rwxr-xr-xtools/regression_tester.py2
9 files changed, 0 insertions, 18 deletions
diff --git a/tools/clean-vlans b/tools/clean-vlans
index 284e5dc576..8a0ebfc8d1 100755
--- a/tools/clean-vlans
+++ b/tools/clean-vlans
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
diff --git a/tools/colorizer.py b/tools/colorizer.py
index a49abb1417..c6a5ac8a1d 100755
--- a/tools/colorizer.py
+++ b/tools/colorizer.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright (c) 2013, Nebula, Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
diff --git a/tools/config/analyze_opts.py b/tools/config/analyze_opts.py
index c91f4dedaf..8dd0fbf6e3 100755
--- a/tools/config/analyze_opts.py
+++ b/tools/config/analyze_opts.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright (c) 2012, Cloudscaling
# All Rights Reserved.
#
diff --git a/tools/db/schema_diff.py b/tools/db/schema_diff.py
index 99afd3d20f..fdcad3114c 100755
--- a/tools/db/schema_diff.py
+++ b/tools/db/schema_diff.py
@@ -1,7 +1,4 @@
#!/usr/bin/env python
-
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright 2012 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/tools/esx/guest_tool.py b/tools/esx/guest_tool.py
index 99cd62a64d..4c830b05d4 100644
--- a/tools/esx/guest_tool.py
+++ b/tools/esx/guest_tool.py
@@ -1,5 +1,3 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright (c) 2011 Citrix Systems, Inc.
# Copyright 2011 OpenStack Foundation
#
diff --git a/tools/install_venv.py b/tools/install_venv.py
index 949b117d4b..cf747d8ab8 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -1,5 +1,3 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py
index 1bab88a3fd..46822e3293 100644
--- a/tools/install_venv_common.py
+++ b/tools/install_venv_common.py
@@ -1,5 +1,3 @@
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright 2013 OpenStack Foundation
# Copyright 2013 IBM Corp.
#
diff --git a/tools/lintstack.py b/tools/lintstack.py
index 0240a43dc0..b2ff601350 100755
--- a/tools/lintstack.py
+++ b/tools/lintstack.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright (c) 2012, AT&T Labs, Yun Mao <yunmao@gmail.com>
# All Rights Reserved.
#
diff --git a/tools/regression_tester.py b/tools/regression_tester.py
index 89a5a4dd29..876184fdbd 100755
--- a/tools/regression_tester.py
+++ b/tools/regression_tester.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
# Copyright (c) 2013 OpenStack Foundation
# All Rights Reserved.
#