Skip to content

Commit

Permalink
Fixed typo in displaypub
Browse files Browse the repository at this point in the history
Regression introduced in ipython#4229
  • Loading branch information
jdfreder committed Dec 19, 2013
1 parent 40c71a8 commit 29ad380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IPython/core/displaypub.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def publish(self, source, data, metadata=None):

def clear_output(self, wait=False):
super(CapturingDisplayPublisher, self).clear_output(wait)
if other:
# empty the list, *do not* reassign a new list
del self.outputs[:]

# empty the list, *do not* reassign a new list
del self.outputs[:]


def publish_display_data(source, data, metadata=None):
Expand Down

0 comments on commit 29ad380

Please sign in to comment.