From 4e8f637d49900e909c9478b365c3e317973ea070 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 1 Sep 2011 12:58:07 -0400 Subject: [PATCH] Push errors to STDERR consistently Signed-off-by: Dan Scott --- tools/patron-load/ldap_sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patron-load/ldap_sync b/tools/patron-load/ldap_sync index f66e2fa1bc..7546ef6567 100644 --- a/tools/patron-load/ldap_sync +++ b/tools/patron-load/ldap_sync @@ -341,7 +341,7 @@ def search_for_students(con, attributes, create_date): insert_into_staging(result_data[0][1]) print(r'\.') except ldap.LDAPError, e: - print e + print >> sys.stderr, e def insert_into_staging(result_data): """ -- 2.11.0