Moved an import

This commit is contained in:
Luke Rogers 2012-05-10 07:47:57 +12:00
parent 16a9279b21
commit d09e493515

View file

@ -3,6 +3,7 @@ remember.py: written by Scaevolus 20101
""" """
from util import hook from util import hook
import string
import re import re
@ -66,7 +67,6 @@ def remember(inp, nick='', db=None, say=None, input=None, notice=None):
new = tail[1:] new = tail[1:]
_head, _tail = data.split(None, 1) _head, _tail = data.split(None, 1)
# data is stored with the input so ignore it when re-adding it # data is stored with the input so ignore it when re-adding it
import string
if len(tail) > 1 and tail[1] in (string.punctuation + ' '): if len(tail) > 1 and tail[1] in (string.punctuation + ' '):
tail = _tail + new tail = _tail + new
else: else: