[IPython-dev] Auto-discard notification

Fernando Perez Fernando.Perez at colorado.edu
Thu Jan 18 13:50:55 CST 2007


David Huard wrote:
> Thanks a lot Fernando,
> 
> Effectively, it doesn't seem to work, unless I'm doing something wrong.

Small bug, here's the fix.  Let me know if it works (as you noticed, this code 
has seen precious little testing):

Index: ipython1/kernel/controllervanilla.py
===================================================================
--- ipython1/kernel/controllervanilla.py        (revision 2018)
+++ ipython1/kernel/controllervanilla.py        (working copy)
@@ -169,7 +169,7 @@

          self.pushAll(tar_fileString=fileString)
          self.executeAll("tar_file = open('%s','wb')" % \
-            tarball_name, block=False)
+            tarballName, block=False)
          self.executeAll("tar_file.write(tar_fileString)", block=False)
          self.executeAll("tar_file.close()", block=False)
          self.executeAll("import os", block=False)


I've already committed it, so you can either apply it manually or update your 
SVN checkout.

For future discussions on this, I'd really appreciate it if you could use the 
list.  Much of this code has not been written by me directly, so it's critical 
that we get other developers' feedback as well.

Thanks for the report!

Cheers,

f


More information about the IPython-dev mailing list