def read_system_config(path=SYSTEM_CONFIG_PATH):
 result = {}
 if os.path.exists(path):
  try:
   import ConfigParser
  except ImportError:
   print 'cannot parse electrum.conf. please install ConfigParser'
   return
  p = ConfigParser.ConfigParser()
  try:
   p.read(path)
   for (k, v) in p.items('client'):
    result[k] = v
  except (ConfigParser.NoSectionError, ConfigParser.MissingSectionHeaderError):
   pass
 return result

def read_system_config ( path = SYSTEM_CONFIG_PATH ) : result = { } if os . path . exists ( path ) : try : import ConfigParser except ImportError : print 'cannot parse electrum.conf. please install ConfigParser' return p = ConfigParser . ConfigParser ( ) try : p . read ( path ) for ( k , v ) in p . items ( 'client' ) : result [ k ] = v except ( ConfigParser . NoSectionError , ConfigParser . MissingSectionHeaderError ) : pass return result
parse and return the system config settings in /etc/electrum .