Remove commented line

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/53c6c979
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/53c6c979
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/53c6c979

Branch: refs/heads/trunk
Commit: 53c6c9795c8c1e6e90d8c1bee216e14c14e68b70
Parents: 9cb7785
Author: Samuel Chong <samuelcho...@gmail.com>
Authored: Wed Nov 9 13:41:11 2016 +1100
Committer: Samuel Chong <samuelcho...@gmail.com>
Committed: Wed Nov 9 13:41:11 2016 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/dimensiondata.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/53c6c979/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py 
b/libcloud/compute/drivers/dimensiondata.py
index b0a5959..c295c94 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -800,20 +800,12 @@ class DimensionDataNodeDriver(NodeDriver):
         if location is not None:
             params['datacenterId'] = self._location_to_location_id(location)
 
-        # return self._to_images(
-        #     self.connection.request_with_orgId_api_2(
-        #         'image/osImage',
-        #         params=params)
-        #     .object)
-
-        images = self._to_images(
+        return self._to_images(
             self.connection.request_with_orgId_api_2(
                 'image/osImage',
                 params=params)
             .object)
 
-        return images
-
     def list_sizes(self, location=None):
         """
         return a list of available sizes

Reply via email to