code: def _parse_content(fh):
      content = iter(fh)
      deps = {}
      for line in content:
          if 'fades' not in line:
              continue
          if '
              continue
          line = line.strip()
          index_of_last_fades = line.rfind('fades')
          index_of_first_hash = line.index('
          if index_of_first_hash > index_of_last_fades:
              continue
          import_part, fades_part = line.rsplit("
          if "fades" not in fades_part:
              import_part, fades_part = import_part.rsplit("
          fades_part = fades_part.strip()
          if not fades_part.startswith("fades"):
              continue
          if not import_part:
              import_part = next(content).strip()
          if import_part.startswith('
              continue
          import_tokens = import_part.split()
          if import_tokens[0] == 'import':
              module_path = import_tokens[1]
          elif import_tokens[0] == 'from' and import_tokens[2] == 'import':
              module_path = import_tokens[1]
          else:
              logger.debug("Not understood import info: %s", import_tokens)
              continue
          module = module_path.split(".")[0]
          if module in PKG_NAMES_DB:
              module = PKG_NAMES_DB[module]
          module = module.replace('_', '-')
          if len(fades_part) == 5 or fades_part[5:].strip()[0] in "<>=!":
              requirement = module + fades_part[5:]
          elif fades_part[5] != " ":
              logger.warning("Not understood fades info: %r", fades_part)
              continue
          else:
              requirement = fades_part[5:]
          parsed_req = parse_fade_requirement(requirement)
          if parsed_req is None:
              continue
          repo, dependency = parsed_req
          deps.setdefault(repo, []).append(dependency)
      return deps