From 584d113a06e7ff68423a59e777d76a117041fe9c Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Fri, 22 Oct 2010 18:51:13 +0000 Subject: [PATCH] py-i2phosts-injector: add extra newline for error message This improves output readability significantly. --- py-i2phosts-injector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-i2phosts-injector b/py-i2phosts-injector index cc90e99..120a24e 100755 --- a/py-i2phosts-injector +++ b/py-i2phosts-injector @@ -46,7 +46,7 @@ for line in f: hostname = validate_hostname(entry[0]) base64 = validate_b64hash(entry[1], check_uniq=False) # don't require uniqueness except ValidationError, e: - sys.stderr.write('validation error: %s: %s\n' % (e, line)) + sys.stderr.write('validation error: %s: %s\n\n' % (e, line)) else: # Check for already existed hosts in database to avoid unneeded INSERTs # beacuse they will fail anyway.