Imports cleanup
Fixes bug #1013770 1. Reorder imports by full module path 2. Insert two blank lines after the last import Change-Id: I294ac3ab528f17a72811392d1732158e9487f3bf
This commit is contained in:
0
nova/rootwrap/__init__.py
Executable file → Normal file
0
nova/rootwrap/__init__.py
Executable file → Normal file
2
nova/rootwrap/compute.py
Executable file → Normal file
2
nova/rootwrap/compute.py
Executable file → Normal file
@@ -15,9 +15,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
from nova.rootwrap import filters
|
||||
|
||||
|
||||
filterlist = [
|
||||
# nova/virt/disk/mount.py: 'kpartx', '-a', device
|
||||
# nova/virt/disk/mount.py: 'kpartx', '-d', device
|
||||
|
||||
1
nova/rootwrap/filters.py
Executable file → Normal file
1
nova/rootwrap/filters.py
Executable file → Normal file
@@ -15,7 +15,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
|
||||
2
nova/rootwrap/network.py
Executable file → Normal file
2
nova/rootwrap/network.py
Executable file → Normal file
@@ -15,9 +15,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
from nova.rootwrap import filters
|
||||
|
||||
|
||||
filterlist = [
|
||||
# nova/network/linux_net.py: 'ip', 'addr', 'add', str(floating_ip)+'/32'i..
|
||||
# nova/network/linux_net.py: 'ip', 'addr', 'del', str(floating_ip)+'/32'..
|
||||
|
||||
2
nova/rootwrap/volume.py
Executable file → Normal file
2
nova/rootwrap/volume.py
Executable file → Normal file
@@ -15,9 +15,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
from nova.rootwrap import filters
|
||||
|
||||
|
||||
filterlist = [
|
||||
# nova/volume/iscsi.py: iscsi_helper '--op' ...
|
||||
filters.CommandFilter("/usr/sbin/ietadm", "root"),
|
||||
|
||||
1
nova/rootwrap/wrapper.py
Executable file → Normal file
1
nova/rootwrap/wrapper.py
Executable file → Normal file
@@ -15,7 +15,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user