From abaac3f0a0bb8a0c6ae325aba3b7f71539286927 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 22 Aug 2014 00:32:17 +0400 Subject: [PATCH] Fix indentation error reported by syntastic --- powerline/segments/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/segments/common.py b/powerline/segments/common.py index ecfd4e04..6d86818c 100644 --- a/powerline/segments/common.py +++ b/powerline/segments/common.py @@ -703,7 +703,7 @@ def uptime(pl, days_format='{days:d}d', hours_format=' {hours:d}h', minutes_form hours_format.format(hours=hours) if hours and hours_format else None, minutes_format.format(minutes=minutes) if minutes and minutes_format else None, seconds_format.format(seconds=seconds) if seconds and seconds_format else None, - ]))[0:shorten_len] + ]))[0:shorten_len] return ''.join(time_formatted).strip()