mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 17:39:27 +01:00
Updated stuff for 2.3 to break 2.2 compatibility :)
This commit is contained in:
parent
b4633370ce
commit
36996dd3cf
@ -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>
|
||||
|
@ -29,7 +29,7 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
###
|
||||
|
||||
from __future__ import generators
|
||||
## from __future__ import generators
|
||||
|
||||
from fix import *
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
###
|
||||
|
||||
from __future__ import generators
|
||||
## from __future__ import generators
|
||||
|
||||
import sys
|
||||
import string
|
||||
|
@ -33,7 +33,7 @@
|
||||
Data structures for Python.
|
||||
"""
|
||||
|
||||
from __future__ import generators
|
||||
## from __future__ import generators
|
||||
|
||||
from fix import *
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
Simple utility functions.
|
||||
"""
|
||||
|
||||
from __future__ import generators
|
||||
## from __future__ import generators
|
||||
|
||||
from fix import *
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
###
|
||||
|
||||
from __future__ import generators
|
||||
## from __future__ import generators
|
||||
|
||||
from test import *
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user