From 97bec929430d0f72542e428fae9975092cea5008 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Thu, 21 May 2015 00:04:10 +0200 Subject: providers:checkbox: use more pythonic prints in recovery_info Signed-off-by: Zygmunt Krynicki --- bin/recovery_info | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/recovery_info b/bin/recovery_info index 2fed808..9d5c828 100755 --- a/bin/recovery_info +++ b/bin/recovery_info @@ -317,9 +317,8 @@ class RecoveryInfo(Command): partition = RecoveryInfo.get_recovery_partition() if partition is None: - sys.stderr.write("Recovery partition not found\n") + print("Recovery partition not found", file=sys.stderr) return 1 - (recovery_type, recovery_partition) = partition ctx.recovery_partition = recovery_partition ctx.recovery_type = recovery_type -- cgit v1.2.3