original_docstring:  enable fisheye commit lookups in a channel. 
docstring: enable fisheye commit lookups in a channel.
docstring_tokens: enable fisheye commit lookups in a channel .
code: def handle_fisheye_commit_lookup_enable(bot, ievent):
      """ enable fisheye commit lookups in a channel. """
      if len(ievent.args) != 1:
          ievent.reply("syntax: fisheye_commit_lookup_enable project (e.g. firebreath")
          return
      if not cfg.data.has_key(ievent.channel):
          cfg.data[ievent.channel] = []
      project = ievent.args[0]
  
      if "projects" not in cfg.data or project not in cfg.data["projects"]:
          ievent.reply("Unknown fisheye project %s" % project)
          return
  
      cfg.data[ievent.channel].append(project)
      cfg.save()
      ievent.reply("fisheye lookups enabled for %s" % project)
code_tokens: def handle_fisheye_commit_lookup_enable ( bot , ievent ) : if len ( ievent . args ) != 1 : ievent . reply ( "syntax: fisheye_commit_lookup_enable project (e.g. firebreath" ) return if not cfg . data . has_key ( ievent . channel ) : cfg . data [ ievent . channel ] = [ ] project = ievent . args [ 0 ] if "projects" not in cfg . data or project not in cfg . data [ "projects" ] : ievent . reply ( "Unknown fisheye project %s" % project ) return cfg . data [ ievent . channel ] . append ( project ) cfg . save ( ) ievent . reply ( "fisheye lookups enabled for %s" % project )
short_docstring: enable fisheye commit lookups in a channel.
short_docstring_tokens: enable fisheye commit lookups in a channel .
comment: """ enable fisheye commit lookups in a channel. """