summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-02-07 18:38:47 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-02-07 18:38:47 +0100
commitd41e202d76ad56983ec29fd02015f1b09309f447 (patch)
tree5b2745a17ee974fe7bb53d06e336c42f1aea98e1 /test
parentef71f59b2e3add3a93a37c51abc17decedb26697 (diff)
downloadweechat-d41e202d76ad56983ec29fd02015f1b09309f447.zip
Remove unneeded spaces
Diffstat (limited to 'test')
-rwxr-xr-xtest/weercd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/weercd.py b/test/weercd.py
index e734ab16f..c4837b569 100755
--- a/test/weercd.py
+++ b/test/weercd.py
@@ -21,7 +21,7 @@
#
# weercd - the WeeChat flood IRC server
-#
+#
# weercd is an IRC server that is designed to test client resistance and memory
# usage (quickly detect memory leaks, for example with client scripts).
# Various IRC commands are sent in a short time (privmsg, notice, join/quit, ..)
@@ -123,7 +123,7 @@ def strrand(minlength=1, maxlength=50, spaces=False):
strspace = ''
if spaces:
strspace = ' '
- return ''.join(random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits + strspace) for x in range(length))
+ return ''.join(random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits + strspace) for x in range(length))
class Client:
def __init__(self, sock, addr, **kwargs):