From 05683971ad8fcd5f6049e98093da9136c90b546e Mon Sep 17 00:00:00 2001 From: Sylvain Th?nault Date: Tue, 6 Sep 2011 10:54:34 +0200 Subject: cleanup --- textutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textutils.py') diff --git a/textutils.py b/textutils.py index f934e76..bdeed41 100644 --- a/textutils.py +++ b/textutils.py @@ -330,8 +330,8 @@ TIME_UNITS = { "d": 60 * 60 *24, } -def apply_units( string, units, inter=None, final=float, blank_reg=_BLANK_RE, - value_reg=_VALUE_RE): +def apply_units(string, units, inter=None, final=float, blank_reg=_BLANK_RE, + value_reg=_VALUE_RE): """Parse the string applying the units defined in units (e.g.: "1.5m",{'m',60} -> 80). -- cgit v1.2.1