jack (3.1.1+cvs20050801-26) 58_progress_changed_error.patch

Summary

 jack_functions.py |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

Don't fail when progress() has never been called before.  Debian #295207.

diff -urN jack-3.1.1~/jack_functions.py jack-3.1.1/jack_functions.py
--- jack-3.1.1~/jack_functions.py	2005-06-20 17:07:52.237610968 +0100
+++ jack-3.1.1/jack_functions.py	2005-06-20 17:08:07.111349816 +0100
@@ -33,6 +33,8 @@
 
 from jack_globals import *
 
+progress_changed = 0
+
 def df(fs = ".", blocksize = 1024):
     "returns free space on a filesystem (in bytes)"
     try: