libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [6/8] libcloud git commit: Add back parenthesis to safe guard format string in the future.
Date Mon, 24 Oct 2016 11:05:04 GMT
Add back parenthesis to safe guard format string in the future.


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

Branch: refs/heads/trunk
Commit: 64793fdf65d5f77d3e0b6badc71565e552190190
Parents: d179018
Author: Samuel Chong <samuelchong1@gmail.com>
Authored: Fri Oct 21 10:56:29 2016 +1100
Committer: Samuel Chong <samuelchong1@gmail.com>
Committed: Fri Oct 21 10:56:29 2016 +1100

----------------------------------------------------------------------
 libcloud/common/dimensiondata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/64793fdf/libcloud/common/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/common/dimensiondata.py b/libcloud/common/dimensiondata.py
index 8eb5446..33a1221 100644
--- a/libcloud/common/dimensiondata.py
+++ b/libcloud/common/dimensiondata.py
@@ -563,7 +563,7 @@ class DimensionDataConnection(ConnectionUserAndKey):
             sleep(poll_interval)
             cnt += 1
 
-        msg = 'Status check for object %s timed out' % result
+        msg = 'Status check for object %s timed out' % (result)
         raise DimensionDataAPIException(code=object_state,
                                         msg=msg,
                                         driver=self.driver)


Mime
View raw message