From 0f62bca72cdcd19f5b7f91012d019fbfef10fa6b 2014-08-04 21:22:16
From: Jonathan Frederic <jon.freder@gmail.com>
Date: 2014-08-04 21:22:16
Subject: [PATCH] s/this/self

---

diff --git a/IPython/utils/eventful.py b/IPython/utils/eventful.py
index 258ca51..d02be7b 100644
--- a/IPython/utils/eventful.py
+++ b/IPython/utils/eventful.py
@@ -157,11 +157,11 @@ class EventfulList(list):
         del_callback: [callback = None]
         reverse_callback: [callback = None]
         sort_callback: [callback = None]"""
-        this.on_insert(insert_callback)
-        this.on_set(set_callback)
-        this.on_del(del_callback)
-        this.on_reverse(reverse_callback)
-        this.on_sort(sort_callback)
+        self.on_insert(insert_callback)
+        self.on_set(set_callback)
+        self.on_del(del_callback)
+        self.on_reverse(reverse_callback)
+        self.on_sort(sort_callback)
 
     def on_insert(self, callback):
         """Register a callback for when an item is inserted into the list.