[open-ils-commits] r459 - in servres/trunk/conifer: . custom (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 6 20:15:52 EDT 2009


Author: gfawcett
Date: 2009-05-06 20:15:51 -0400 (Wed, 06 May 2009)
New Revision: 459

Modified:
   servres/trunk/conifer/TODO
   servres/trunk/conifer/custom/lib_integration.py
Log:
allow Syrup to start without EG integration; but warn that it's absent.


Modified: servres/trunk/conifer/TODO
===================================================================
--- servres/trunk/conifer/TODO	2009-05-06 19:24:49 UTC (rev 458)
+++ servres/trunk/conifer/TODO	2009-05-07 00:15:51 UTC (rev 459)
@@ -2,8 +2,10 @@
 
 IMPORTANT:
 
-* factor out hardcoded references to the EG server.
+* allow concat.ca, windsor.concat.ca, etc. for paste-in item queries.
 
+* for Windsor, write temporary web-services for directory services.
+
 * Notify circulation of wanted items. What should it do?
 
 * set up a proper issue-tracker?
@@ -70,3 +72,5 @@
   non-physical items. 856$9 is a definitive indicator in the Conifer
   (Evergreen?) context.
 
+* factor out hardcoded references to the EG server.
+

Modified: servres/trunk/conifer/custom/lib_integration.py
===================================================================
--- servres/trunk/conifer/custom/lib_integration.py	2009-05-06 19:24:49 UTC (rev 458)
+++ servres/trunk/conifer/custom/lib_integration.py	2009-05-07 00:15:51 UTC (rev 459)
@@ -40,7 +40,11 @@
 
 from conifer.libsystems.evergreen.support import initialize
 EG_BASE = 'http://%s/' % settings.EVERGREEN_GATEWAY_SERVER
-initialize(EG_BASE)
+try:
+    initialize(EG_BASE)
+except:
+    import warnings
+    warnings.warn('Evergreen inaccessible! Integration will suck eggs!')
 
 from conifer.libsystems.evergreen import item_status as I
 from conifer.libsystems.sip.sipclient import SIP



More information about the open-ils-commits mailing list