condense_policy.py: Allow multiple || separators

The policy data can now have multiple || separators
on its search line, like

<error type>||<callout>||severity

The ibm-logging code breaks this line up into
an error type and search modifier, and now the
search modifier will be the '<callout>||<severity>'

Change-Id: Ice69149a42e864e4ff8f6f2756bba60edbd5f9d9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/condense_policy.py b/condense_policy.py
index c0e393d..565ad09 100755
--- a/condense_policy.py
+++ b/condense_policy.py
@@ -90,8 +90,10 @@
         details = {}
 
         #Parse the error||modifer line. The modifier is optional.
-        if '||' in name:
-            error, modifier = name.split('||')
+        separatorPos = name.find('||')
+        if separatorPos != -1:
+            error = name[0:separatorPos]
+            modifier = name[separatorPos + 2:]
             details['mod'] = modifier
         else:
             error = name