From: Dan Scott Date: Thu, 1 Sep 2011 16:58:07 +0000 (-0400) Subject: Push errors to STDERR consistently X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=47c62666f7ab021cdf18f9d8349d37d62b9f7b9f;p=contrib%2FConifer.git Push errors to STDERR consistently Signed-off-by: Dan Scott --- 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): """