You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/02/11 00:28:53 UTC
svn commit: r908751 - /incubator/libcloud/trunk/libcloud/drivers/voxel.py
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)