def get_user_from_topic(s):
  o = None
  # Check whether we got a topic name or a Stream instance
  if not (isinstance(s, str) or isinstance(s, unicode)):
    s = s.key().name()
  list = s.split('/')
  try:
    email = list[1]
    if '@' in email:
      o = email
  except IndexError:   # No '/' in s.
    pass
  return o
Get the installed version of dist_name avoiding pkg_resources cache
dataset/ETHPy150Open CollabQ/CollabQ/common/util.py/get_user_from_topic--crossover with--dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/get_installed_version