Ticket #4363: trac_4363.patch

File trac_4363.patch, 843 bytes (added by mhansen, 13 years ago)
  • sage/server/notebook/worksheet.py

    # HG changeset patch
    # User Mike Hansen <mhansen@gmail.com>
    # Date 1232338298 28800
    # Node ID 0779b4fd80939999e08f8acbaa0af8d7d2c23560
    # Parent  d36e4137ffa3badd3ffdaf9ecba429b0b64fcd33
    Prevert interact cells from automatically being enqueued on worksheet loading.
    
    diff -r d36e4137ffa3 -r 0779b4fd8093 sage/server/notebook/worksheet.py
    a b  
    19531953        if not self.is_published():
    19541954            for c in self.cell_list():
    19551955                if c.is_interactive_cell():
    1956                     if not c in self.__queue:
    1957                         self.enqueue(c)
     1956                    c.delete_output()
    19581957
    19591958        # This *depends* on self.cell_list() being set!!
    19601959        self.set_cell_counter()