1. YouGov, plc.
  2. Untitled project
  3. popquotes

Commits

Jason R. Coombs  committed 97e6170

Reindent long lines

  • Participants
  • Parent commits 670ab70
  • Branches default

Comments (0)

Files changed (1)

File popquotes/pmxbot.py

View file
 # declare all of the popquotes commands
 quote_libs = (
 	# name, aliases, doc, lib
-	('bender', ('bend',), 'Quote Bender, a la http://en.wikiquote.org/wiki/Futurama', 'bender'),
-	('zoidberg', ('zoid',), 'Quote Zoidberg, a la http://en.wikiquote.org/wiki/Futurama', 'zoid'),
-	('simpsons', ('simp',), 'Quote the Simpsons, a la http://snpp.com/', 'simpsons'),
+	('bender', ('bend',),
+		'Quote Bender, a la http://en.wikiquote.org/wiki/Futurama', 'bender'),
+	('zoidberg', ('zoid',),
+		'Quote Zoidberg, a la http://en.wikiquote.org/wiki/Futurama', 'zoid'),
+	('simpsons', ('simp',), 'Quote the Simpsons, a la http://snpp.com/',
+		'simpsons'),
 	('hal', ('2001',), 'HAL 9000', 'hal'),
 	('grail', (), 'I questing baby', 'grail'),
 	('anchorman', (), 'Quote Anchorman.', 'anchorman'),
 # create the popquotes commands per the declarations above
 def make_command(name, aliases, doc, lib):
 	# create a command function with the pmxbot command signature
-	cmd_func = lambda client, event, channel, nick, rest: bartletts(lib, nick, rest)
+	cmd_func = lambda client, event, channel, nick, rest: bartletts(lib, nick,
+		rest)
 	# register the new func as a command
 	pmxbot_cmd = command(name, aliases=aliases, doc=doc)(cmd_func)
 	# add the command to the global namespace so it can be tested