From: Ying Liu Date: Mon, 22 Aug 2011 20:13:29 +0000 (-0700) Subject: clean up code and fix some comments X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3ed7419816e0fca047a6cf995e9374c2b8f2e5d7;p=openstack-build%2Fneutron-build.git clean up code and fix some comments --- diff --git a/extensions/novatenant.py b/extensions/novatenant.py index 3eaa89c24..c4ab55db0 100644 --- a/extensions/novatenant.py +++ b/extensions/novatenant.py @@ -97,7 +97,6 @@ class NovatenantsController(common.QuantumController): def __init__(self, plugin): self._resource_name = 'novatenant' self._plugin = plugin - #super(NovatenantsController, self).__init__(plugin) def index(self, request, tenant_id): """ Returns a list of novatenant ids """ diff --git a/extensions/portprofile.py b/extensions/portprofile.py index 8621c2ac7..c20eea3ac 100644 --- a/extensions/portprofile.py +++ b/extensions/portprofile.py @@ -81,7 +81,6 @@ class PortprofilesController(common.QuantumController): def __init__(self, plugin): self._resource_name = 'portprofile' self._plugin = plugin - #super(PortprofilesController, self).__init__(plugin) self._portprofile_ops_param_list = [{ 'param-name': 'portprofile_name', @@ -209,7 +208,6 @@ class PortprofilesController(common.QuantumController): except exc.HTTPError as exp: return faults.Fault(exp) net_id = req_params['network-id'].strip() - #print "*****net id "+net_id port_id = req_params['port-id'].strip() try: self._plugin. \ diff --git a/extensions/qos.py b/extensions/qos.py index 3c0f3da78..bcff6de8a 100644 --- a/extensions/qos.py +++ b/extensions/qos.py @@ -94,7 +94,6 @@ class QosController(common.QuantumController): def __init__(self, plugin): self._resource_name = 'qos' self._plugin = plugin - #super(QosController, self).__init__(plugin) def index(self, request, tenant_id): """ Returns a list of qos ids """