From 5662d67aa2f1f3665cb6f43be2c0b0747d4ad86d Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 16 May 2015 16:11:19 -0400 Subject: [PATCH] Remove tabs in source. --- ocrolib/morph.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocrolib/morph.py b/ocrolib/morph.py index 6d90654b..6742d3d7 100644 --- a/ocrolib/morph.py +++ b/ocrolib/morph.py @@ -19,8 +19,8 @@ def label(image,**kw): except: pass types = ["int32","uint32","int64","unit64","int16","uint16"] for t in types: - try: return measurements.label(array(image,dtype=t),**kw) - except: pass + try: return measurements.label(array(image,dtype=t),**kw) + except: pass # let it raise the same exception as before return measurements.label(image,**kw) @@ -34,8 +34,8 @@ def find_objects(image,**kw): except: pass types = ["int32","uint32","int64","unit64","int16","uint16"] for t in types: - try: return measurements.find_objects(array(image,dtype=t),**kw) - except: pass + try: return measurements.find_objects(array(image,dtype=t),**kw) + except: pass # let it raise the same exception as before return measurements.find_objects(image,**kw)