porting to acq branch: added a generic event class to model ILS events, removed funct...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Jan 2008 17:13:38 +0000 (17:13 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Jan 2008 17:13:38 +0000 (17:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8399 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/python/oils/utils/utils.py

index 1941a85..b1fd037 100644 (file)
@@ -23,20 +23,6 @@ from osrf.log import *
 # Grab-bag of general utility functions
 # -----------------------------------------------------------------------
 
-def isEvent(evt):
-    return (evt and isinstance(evt, dict) and evt.get('ilsevent') != None)
-
-def eventCode(evt):
-    if isEvent(evt):
-        return evt['ilsevent']
-    return None
-
-def eventText(evt):
-    if isEvent(evt):
-        return evt['textcode']
-    return None
-
-      
 def md5sum(str):
     m = md5.new()
     m.update(str)