chrome/android/monochrome/scripts/monochrome_apk_checker_test.py
def LoadPathmap(self, pathmap_path):
    """Load the pathmap of obfuscated resource paths.

    Returns: A dict mapping from obfuscated paths to original paths or an
           empty dict if passed a None |pathmap_path|.
    """
    if pathmap_path is None or not os.path.exists(pathmap_path):
      return {}

    pathmap = {}
    with open(pathmap_path, 'r') as f:
      for line in f:
        line = line.strip()
        if line.startswith('#') or line == '':
          continue
        original, renamed = line.split(' -> ')
        pathmap[renamed] = original
    return pathmap
Load the pathmap of obfuscated resource paths.

    Returns: A dict mapping from obfuscated paths to original paths or an
           empty dict if passed a None |pathmap_path|.
    
Load the pathmap of obfuscated resource paths.
Returns: A dict mapping from obfuscated paths to original paths or an
empty dict if passed a None |pathmap_path|.
Load the pathmap of obfuscated resource paths . Returns : A dict mapping from obfuscated paths to original paths or an empty dict if passed a None |pathmap_path| .
def LoadPathmap(self, pathmap_path):
    if pathmap_path is None or not os.path.exists(pathmap_path):
      return {}
    pathmap = {}
    with open(pathmap_path, 'r') as f:
      for line in f:
        line = line.strip()
        if line.startswith('#') or line == '':
          continue
        original, renamed = line.split(' -> ')
        pathmap[renamed] = original
    return pathmap
def LoadPathmap ( self , pathmap_path ) : if pathmap_path is None or not os . path . exists ( pathmap_path ) : return { } pathmap = { } with open ( pathmap_path , 'r' ) as f : for line in f : line = line . strip ( ) if line . startswith ( '#' ) or line == '' : continue original , renamed = line . split ( ' -> ' ) pathmap [ renamed ] = original return pathmap
Load the pathmap of obfuscated resource paths.
Load the pathmap of obfuscated resource paths .
"""Load the pathmap of obfuscated resource paths.

    Returns: A dict mapping from obfuscated paths to original paths or an
           empty dict if passed a None |pathmap_path|.
    """
self
pathmap_path