Formatting changes

This commit is contained in:
Jeremy Fincher 2003-03-28 05:19:14 +00:00
parent 55aaa596e0
commit 25e71562d2

View File

@ -153,14 +153,14 @@ class Http(callbacks.Privmsg):
if profile.find('Team:') >= 0: if profile.find('Team:') >= 0:
team = self._gkteam.search(profile).group(1) team = self._gkteam.search(profile).group(1)
irc.reply(msg, '%s (team %s) is rated %s and has %s active ' \ irc.reply(msg, '%s (team %s) is rated %s and has %s active ' \
'games and a record of W-%s, L-%s, D-%s. ' \ 'games and a record of W-%s, L-%s, D-%s. ' \
'%s was last seen on Gameknot %s' % \ '%s was last seen on Gameknot %s' % \
(name, team, rating, games, w, l, d, name, seen)) (name, team, rating, games, w, l, d, name, seen))
else: else:
irc.reply(msg, '%s is rated %s and has %s active games ' \ irc.reply(msg, '%s is rated %s and has %s active games ' \
'and a record of W-%s, L-%s, D-%s. ' \ 'and a record of W-%s, L-%s, D-%s. ' \
'%s was last seen on Gameknot %s' % \ '%s was last seen on Gameknot %s' % \
(name, rating, games, w, l, d, name, seen)) (name, rating, games, w, l, d, name, seen))
except AttributeError: except AttributeError:
if profile.find('User %s not found!' % name) != -1: if profile.find('User %s not found!' % name) != -1:
irc.error(msg, 'No user %s exists.') irc.error(msg, 'No user %s exists.')