Remove some unused things
This commit is contained in:
parent
e397f38b47
commit
059799bb2d
6 changed files with 1 additions and 8 deletions
|
@ -74,8 +74,6 @@ class Plugin(BasePlugin):
|
|||
|
||||
if typ == 's':
|
||||
try:
|
||||
regex = re.compile(remove)
|
||||
|
||||
if replace_all:
|
||||
new_body = re.sub(remove, put, body)
|
||||
else:
|
||||
|
|
|
@ -21,7 +21,6 @@ Commands
|
|||
"""
|
||||
|
||||
from poezio.plugin import BasePlugin
|
||||
from poezio import tabs
|
||||
|
||||
class Plugin(BasePlugin):
|
||||
def init(self):
|
||||
|
|
|
@ -42,7 +42,6 @@ except ImportError:
|
|||
from cStringIO import StringIO
|
||||
|
||||
import codecs
|
||||
import locale
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
|
|
|
@ -30,6 +30,6 @@ c = ["b", "c", "d", "f", "g", "h", "j", "k", "m", "l", "n", "p", "r", "s", "t",
|
|||
|
||||
def gen_nick(size):
|
||||
res = ''
|
||||
for i in range(size):
|
||||
for _ in range(size):
|
||||
res += '%s%s' % (choice(c), choice(s))
|
||||
return res
|
||||
|
|
|
@ -18,8 +18,6 @@ log = logging.getLogger(__name__)
|
|||
|
||||
import string
|
||||
import time
|
||||
import weakref
|
||||
from datetime import datetime, timedelta
|
||||
from xml.etree import cElementTree as ET
|
||||
|
||||
from poezio.core.structs import Command
|
||||
|
|
|
@ -11,7 +11,6 @@ import curses
|
|||
import collections
|
||||
|
||||
from poezio import windows
|
||||
from poezio.common import safeJID
|
||||
from poezio.decorators import refresh_wrapper
|
||||
|
||||
from poezio.tabs import Tab
|
||||
|
|
Loading…
Reference in a new issue