Fix typo
authorJonathan Griffin <jgriffin@mozilla.com>
Fri, 10 Jun 2011 13:00:14 -0700
changeset 33 ed46547d9991a3b27eb27f235f0f3177399a3c14
parent 32 2edc7518de5abe9251e3b797db1405e6a63d7daf
child 34 51afbd7578ffc80ec6c235d5ecce6dbd33ebcb6b
push id34
push userjgriffin@mozilla.com
push dateFri, 10 Jun 2011 20:00:21 +0000
Fix typo
mozautoeslib/eslib.py
--- a/mozautoeslib/eslib.py
+++ b/mozautoeslib/eslib.py
@@ -15,17 +15,17 @@ class ESLib(object):
 
     if not server or not index:
       raise Exception("must specify server and index!")
 
     self.server = server
 
     # split the index parameter into read and write indices
     if isinstance(index, list):
-      assert(len(list) > 0)
+      assert(len(index) > 0)
       if len(index) == 1:
         self.index = [index[0], index[0]]
       else:
         self.index = [index[0], index[1]]
     elif isinstance(index, basestring):
       self.index = [index, index]
 
     self.read_index = self.index[0]