[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-cvs] [SCM] Fast, light and extensible chat client branch, maste
From: |
Sebastien Helleu |
Subject: |
[Weechat-cvs] [SCM] Fast, light and extensible chat client branch, master, updated. v0.4.2-37-g591b111 |
Date: |
Sat, 02 Nov 2013 08:26:26 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Fast, light and extensible chat client".
The branch, master has been updated
via 591b1118913fa6aabb0dfc8e6c6e177d7216a48d (commit)
from 4af78fa4aab07d24709a0bb9b56fd870aacf2666 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 591b1118913fa6aabb0dfc8e6c6e177d7216a48d
Author: Sebastien Helleu <address@hidden>
Date: Sat Nov 2 08:47:59 2013 +0100
weercd.py: major code cleanup, full PEP8 compliance, replace %-formatting
with .format()
All changes:
- import the new division operator and the print function
- replace the %-formatting with .format()
- full PEP8 compliance
- major code cleanup: new function send_cmd() to send an IRC command,
split flood() function into many functions.
The messages sent from a file (or stdin) are formatted with
".format(self=self)", so that attributes from class Client are replaced
with their values. You can use for example these attributes:
{self.nick} current client nick
{self.name} the server name ('weercd')
{self.version} the server version (version of weercd.py)
-----------------------------------------------------------------------
Summary of changes:
test/weercd.py | 470 ++++++++++++++++++++++++++++++++++----------------------
1 files changed, 283 insertions(+), 187 deletions(-)
hooks/post-receive
--
Fast, light and extensible chat client
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Weechat-cvs] [SCM] Fast, light and extensible chat client branch, master, updated. v0.4.2-37-g591b111,
Sebastien Helleu <=