]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
clean up code and fix some comments
authorYing Liu <yinliu2@cisco.com>
Mon, 22 Aug 2011 20:13:29 +0000 (13:13 -0700)
committerYing Liu <yinliu2@cisco.com>
Mon, 22 Aug 2011 20:13:29 +0000 (13:13 -0700)
extensions/novatenant.py
extensions/portprofile.py
extensions/qos.py

index 3eaa89c248cae8af808c8fca8e61405f08301555..c4ab55db0bd45697eb4afb2bdb205cbf3a0afbd0 100644 (file)
@@ -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 """
index 8621c2ac7dafa5da575b083d6a2babd641cea5fc..c20eea3ac9dd491acf8c16af490d0573ef3d7959 100644 (file)
@@ -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. \
index 3c0f3da7829df6bba88643b830cbfac29c2c60f0..bcff6de8af4a41b8d1e7f7847e122e307fb30b8d 100644 (file)
@@ -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 """