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/05/06 19:01:01 UTC

svn commit: r941803 - /incubator/libcloud/trunk/libcloud/drivers/gogrid.py

Author: pquerna
Date: Thu May  6 17:01:00 2010
New Revision: 941803

URL: http://svn.apache.org/viewvc?rev=941803&view=rev
Log:
remove unused function from gogrid driver.

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

Modified: incubator/libcloud/trunk/libcloud/drivers/gogrid.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/gogrid.py?rev=941803&r1=941802&r2=941803&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/gogrid.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/gogrid.py Thu May  6 17:01:00 2010
@@ -173,10 +173,6 @@ class GoGridNodeDriver(NodeDriver):
                     self.connection.request('/api/grid/image/list').object)
         return images
 
-    def get_uuid(self, field):
-        uuid_str = "%s:%s" % (field,self.connection.user_id)
-        return hashlib.sha1(uuid_str).hexdigest()
-
     def list_nodes(self):
         res = self._server_list()
         return [ self._to_node(el)