libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [03/10] libcloud git commit: updates the driver
Date Wed, 25 May 2016 12:50:38 GMT
updates the driver

Closes #787

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>


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

Branch: refs/heads/trunk
Commit: 46177074ceebe824d80332289e05a91012cb22e5
Parents: 47db6ce
Author: oltjano <oltjano13@gmail.com>
Authored: Sun May 15 17:50:55 2016 -0700
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Wed May 25 14:37:44 2016 +0200

----------------------------------------------------------------------
 libcloud/dns/drivers/dnspod.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/46177074/libcloud/dns/drivers/dnspod.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/drivers/dnspod.py b/libcloud/dns/drivers/dnspod.py
index 0c0515b..4d8838a 100644
--- a/libcloud/dns/drivers/dnspod.py
+++ b/libcloud/dns/drivers/dnspod.py
@@ -292,8 +292,8 @@ class DNSPodDNSDriver(DNSDriver):
                                                data=data)
         except DNSPodException:
             e = sys.exc_info()[1]
-            if e.message == 'Record impacted, same record' \
-                            'exists or CNAME/URL impacted':
+            if e.message == ('Record impacted, same record exists '
+                             'or CNAME/URL impacted'):
                 raise RecordAlreadyExistsError(record_id='', driver=self,
                                                value=name)
             raise e


Mime
View raw message