Fix and Gate on E265

pep8 E265 makes sure block comment start with '# '. Fix and gate on this
new rule as it helps improve comment readability.

In the few cases where the comment was just commented out code, remove
the comment.

Change-Id: Iea1c445df8ddc2b6c17a4ab697ad756eef2f91fa
This commit is contained in:
Joe Gordon
2014-06-17 22:34:28 -07:00
committed by Davanum Srinivas
parent 2b5a4923ee
commit 855fe98ef4
91 changed files with 250 additions and 260 deletions

View File

@@ -134,7 +134,7 @@ def mkswap(dev, label='swap1'):
def mkfs_ephemeral(dev, label="ephemeral0"):
#TODO(jogo) support non-default mkfs options as well
# TODO(jogo) support non-default mkfs options as well
disk.mkfs("default", label, dev)

View File

@@ -614,10 +614,10 @@ class NetworkCommands(object):
admin_context = context.get_admin_context()
network = db.network_get_by_cidr(admin_context, fixed_range)
net = {}
#User can choose the following actions each for project and host.
#1) Associate (set not None value given by project/host parameter)
#2) Disassociate (set None by disassociate parameter)
#3) Keep unchanged (project/host key is not added to 'net')
# User can choose the following actions each for project and host.
# 1) Associate (set not None value given by project/host parameter)
# 2) Disassociate (set None by disassociate parameter)
# 3) Keep unchanged (project/host key is not added to 'net')
if dis_project:
net['project_id'] = None
if dis_host: