Add patch for running errl parser in parallel

Creates a fix so when multiple users/programs parse esels, they do not hang.

Change-Id: Ib983f16ce81b62221803f84a3a010ff2ab37132a
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
diff --git a/thalerj/openbmctool.py b/thalerj/openbmctool.py
index c28c82d..1cc2c7c 100755
--- a/thalerj/openbmctool.py
+++ b/thalerj/openbmctool.py
@@ -29,6 +29,7 @@
 import tempfile
 import hashlib
 import re
+import uuid
 
 def hilight(textToColor, color, bold):
     """
@@ -590,7 +591,8 @@
     #search terms contains the search term as the key and the return dictionary key as it's value
     searchTerms = { 'Signature Description':'signatureDescription', 'devdesc':'devdesc',
                     'Callout type': 'calloutType', 'Procedure':'procedure', 'Sensor Type': 'sensorType'}
-    eselBinPath = tempfile.gettempdir() + os.sep + 'esel.bin'
+    uniqueID = str(uuid.uuid4())
+    eselBinPath = tempfile.gettempdir() + os.sep + uniqueID + 'esel.bin'
     with open(eselBinPath, 'wb') as f:
         f.write(esel_bin)
     errlPath = ""