Re: [Freevo-devel] small bug

2009-01-13 Thread A Mennucc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A Mennucc ha scritto: > hi, > > this seems a small bug > > --- util/fileops.py~1.8.3 2008-11-22 11:47:49.0 +0100 > +++ util/fileops.py 2009-01-13 18:34:07.0 +0100 > @@ -405,7 +405,7 @@ > if rc: > if

[Freevo-devel] vfs raise

2009-01-13 Thread A Mennucc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, when re-raising an exception, it is better to use a plain simple 'raise'. Code example: try: open('/nonexistent') except IOError: print 'error' raise IOError The above code has a defect: the new IOError is empty, that is, all info reg

[Freevo-devel] no umount_all

2009-01-13 Thread A Mennucc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, I dedicated some time to solve the bug 2502039 ; in doing so I encountered many points in the code that IMHO are bugs, or buglets; I am going to post a list of patches, trying to explain as clearly as possible. The first post re: umount_all . Thi

[Freevo-devel] print_upper_execution_stack

2009-01-13 Thread A Mennucc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, I wrote this simple utility that helped me a lot in debugging a bug. a. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkltAUoACgkQ9B/tjjP8QKQ9hgCgnvSWT9Z+

[Freevo-devel] small bug

2009-01-13 Thread A Mennucc
hi, this seems a small bug --- util/fileops.py~1.8.3 2008-11-22 11:47:49.0 +0100 +++ util/fileops.py 2009-01-13 18:34:07.0 +0100 @@ -405,7 +405,7 @@ if rc: if rc in (1,): _debug_('mounting %r: %s' % (dir, se), DWARNING) -