Updated stuff for 2.3 to break 2.2 compatibility :)

This commit is contained in:
Jeremy Fincher 2003-08-07 02:48:44 +00:00
parent b4633370ce
commit 36996dd3cf
6 changed files with 6 additions and 8 deletions

View File

@ -152,9 +152,7 @@ class Moobot(callbacks.Privmsg):
def reverse(self, irc, msg, args):
"<text>"
text = privmsgs.getArgs(args)
L = list(text)
L.reverse()
irc.reply(msg, ''.join(L))
irc.reply(msg, text[::-1])
def mime(self, irc, msg, args):
"""<text>

View File

@ -29,7 +29,7 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import generators
## from __future__ import generators
from fix import *

View File

@ -29,7 +29,7 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import generators
## from __future__ import generators
import sys
import string

View File

@ -33,7 +33,7 @@
Data structures for Python.
"""
from __future__ import generators
## from __future__ import generators
from fix import *

View File

@ -33,7 +33,7 @@
Simple utility functions.
"""
from __future__ import generators
## from __future__ import generators
from fix import *

View File

@ -29,7 +29,7 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import generators
## from __future__ import generators
from test import *