4cf631b8c17695efbef6ba6fd005e33f09ea16af
chmalee
  Tue Apr 19 09:52:41 2022 -0700
Fix pyLib hg.conf parser to account for the new what is this assembly section

diff --git src/hg/pyLib/hgLib.py src/hg/pyLib/hgLib.py
index 8e25281..bb30667 100644
--- src/hg/pyLib/hgLib.py
+++ src/hg/pyLib/hgLib.py
@@ -84,31 +84,31 @@
  
 def parseConf(fname):
     " parse a hg.conf style file, return as dict key -> value (all strings) "
     conf = {}
     for line in open(fname):
         line = line.strip()
         if line.startswith("#"):
             continue
         elif line.startswith("include "):
             inclFname = line.split()[1]
             absFname = normpath(join(dirname(fname), inclFname))
             if os.path.isfile(absFname):
                 inclDict = parseConf(absFname)
                 conf.update(inclDict)
         elif "=" in line: # string search for "="
-            key, value = line.split("=")
+            key, value = line.split("=",1)
             conf[key] = value
     return conf
 
 
 # cache of hg.conf contents
 hgConf = None
 
 def parseHgConf():
     """ return hg.conf as dict key:value. """
     global hgConf
     if hgConf is not None:
         return hgConf
 
     hgConf = dict() # python dict = hash table