libcloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r908751 - /incubator/libcloud/trunk/libcloud/drivers/voxel.py
Date Wed, 10 Feb 2010 23:28:53 GMT
Author: pquerna
Date: Wed Feb 10 23:28:49 2010
New Revision: 908751

URL: http://svn.apache.org/viewvc?rev=908751&view=rev
Log:
fix failure on my part to test code before commiting.

Modified:
    incubator/libcloud/trunk/libcloud/drivers/voxel.py

Modified: incubator/libcloud/trunk/libcloud/drivers/voxel.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/voxel.py?rev=908751&r1=908750&r2=908751&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/voxel.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/voxel.py Wed Feb 10 23:28:49 2010
@@ -51,7 +51,7 @@
             # From voxel docs:
             # 1: Invalid login or password
             # 9: Permission denied: user lacks access rights for this method
-            if code == "1" or code = "9":
+            if code == "1" or code == "9":
                 # sucks, but only way to detect bad authentication tokens so far
                 raise InvalidCredsException(err_list[-1])
         return "\n".join(err_list)



Mime
View raw message