]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
pylint and pep8 fix
authorYing Liu <yinliu2@cisco.com>
Thu, 18 Aug 2011 22:57:36 +0000 (15:57 -0700)
committerYing Liu <yinliu2@cisco.com>
Thu, 18 Aug 2011 22:57:36 +0000 (15:57 -0700)
extensions/_credential_view.py
extensions/_pprofiles.py
extensions/credential.py

index 1c1cc3ac2cca6d9efbfebc790a46cfdd1bdcaf83..453cd8b24d8e19444e6084df8c0cde1ef09d8e88 100644 (file)
@@ -39,7 +39,7 @@ class ViewBuilder(object):
 
     def build(self, credential_data, is_detail=False):
         """Generic method used to generate a credential entity."""
-        print "credential-DATA:%s" % credential_data
+        
         if is_detail:
             credential = self._build_detail(credential_data)
         else:
index c3d8147603715978980b91337ff330a79879dfc0..ba94c472bcf81fb7b8d6a2d6bef19b9bf224dd4e 100644 (file)
@@ -39,7 +39,7 @@ class ViewBuilder(object):
 
     def build(self, portprofile_data, is_detail=False):
         """Generic method used to generate a portprofile entity."""
-        print "portprofile_DATA:%s" % portprofile_data
+        
         if is_detail:
             portprofile = self._build_detail(portprofile_data)
         else:
index 1e64222166fe063b139ffa339e1b506c17ab3465..8b51c81c2d8c5c3a4a831d6e6244d4ca8ba9c4d3 100644 (file)
@@ -100,7 +100,6 @@ class CredentialController(common.QuantumController):
              
     def index(self, request, tenant_id):
         """ Returns a list of credential ids """
-        #TODO: this should be for a given tenant!!!
         return self._items(request, tenant_id, is_detail=False)
 
     def _items(self, request, tenant_id, is_detail):