You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/10/05 07:38:10 UTC

[20/22] libcloud git commit: Update error message. Closes #889

Update error message.
Closes #889


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

Branch: refs/heads/trunk
Commit: 2a0892864c350921bb29d97b48c43d25ed807fe7
Parents: f311aaf
Author: Andrew Starr-Bochicchio <a....@gmail.com>
Authored: Tue Oct 4 23:52:30 2016 -0400
Committer: Anthony Shaw <an...@apache.org>
Committed: Wed Oct 5 18:37:03 2016 +1100

----------------------------------------------------------------------
 libcloud/common/digitalocean.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2a089286/libcloud/common/digitalocean.py
----------------------------------------------------------------------
diff --git a/libcloud/common/digitalocean.py b/libcloud/common/digitalocean.py
index be452bb..963e479 100644
--- a/libcloud/common/digitalocean.py
+++ b/libcloud/common/digitalocean.py
@@ -38,8 +38,11 @@ class DigitalOcean_v1_Error(LibcloudError):
     supported.
     """
 
-    def __init__(self, value=('Version 1 of the DigitalOcean API reached end'
-                 ' of life on November 9, 2015. Please use the v2 driver.'),
+    def __init__(self,
+                 value=('Driver no longer supported: Version 1 of the '
+                        'DigitalOcean API reached end of life on November 9, '
+                        '2015. Use the v2 driver. Please visit: '
+                        'https://developers.digitalocean.com/documentation/changelog/api-v1/sunsetting-api-v1/'),  # noqa: E501
                  driver=None):
         super(DigitalOcean_v1_Error, self).__init__(value, driver=driver)