From 73e007e7328211c316ba94940b788edf1395bd83 Mon Sep 17 00:00:00 2001 From: Marcus Breese Date: Mon, 4 Mar 2013 22:41:23 -0800 Subject: [PATCH] version bump; default extra in open_iter --- eta/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eta/__init__.py b/eta/__init__.py index e6d168e..dd2fc1e 100755 --- a/eta/__init__.py +++ b/eta/__init__.py @@ -18,7 +18,7 @@ def eta_open_iter(fname, callback=None): f = open(fname) # not using with to support 2.4 _eta = ETA(os.stat(fname).st_size, fileobj=f) - extra = None + extra = '' for line in f: if callback: extra = callback() diff --git a/setup.py b/setup.py index fc3a822..fbd6754 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='eta', - version='0.9.2', + version='0.9.3', description='ETA Progress bar for command-line utilities', author='Marcus Breese', author_email='marcus@breese.com',