summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/alias.py3
-rw-r--r--plugins/exec.py2
-rw-r--r--plugins/ping.py1
-rw-r--r--plugins/random_nick.py1
-rw-r--r--plugins/replace_word.py1
-rw-r--r--plugins/uptime.py1
6 files changed, 1 insertions, 8 deletions
diff --git a/plugins/alias.py b/plugins/alias.py
index 643cfaca..e52c8d5f 100644
--- a/plugins/alias.py
+++ b/plugins/alias.py
@@ -68,9 +68,8 @@ Example of the syntax:
from plugin import BasePlugin
-import common
from common import shell_split
-from functools import partial, wraps
+
class Plugin(BasePlugin):
def init(self):
diff --git a/plugins/exec.py b/plugins/exec.py
index 6232fe8c..845bfb25 100644
--- a/plugins/exec.py
+++ b/plugins/exec.py
@@ -36,9 +36,7 @@ Usage
"""
from plugin import BasePlugin
-import os
import common
-import shlex
import subprocess
class Plugin(BasePlugin):
diff --git a/plugins/ping.py b/plugins/ping.py
index d8c6fc54..152445c8 100644
--- a/plugins/ping.py
+++ b/plugins/ping.py
@@ -25,7 +25,6 @@ Command
from plugin import BasePlugin
from roster import roster
from common import safeJID
-import common
import tabs
import time
diff --git a/plugins/random_nick.py b/plugins/random_nick.py
index a62ef23c..2c4a2f5b 100644
--- a/plugins/random_nick.py
+++ b/plugins/random_nick.py
@@ -12,7 +12,6 @@ automatically be changed to something random, for example: ::
"""
from plugin import BasePlugin
-from tabs import MucTab
from random import choice
class Plugin(BasePlugin):
diff --git a/plugins/replace_word.py b/plugins/replace_word.py
index ce685f49..2c20a309 100644
--- a/plugins/replace_word.py
+++ b/plugins/replace_word.py
@@ -17,7 +17,6 @@ Just use the word in a message. It will be replaced automatically.
"""
from plugin import BasePlugin
-import tabs
import re
class Plugin(BasePlugin):
diff --git a/plugins/uptime.py b/plugins/uptime.py
index c071b4e8..2b171703 100644
--- a/plugins/uptime.py
+++ b/plugins/uptime.py
@@ -12,7 +12,6 @@ Command
Retrieve the uptime of the server of ``jid``.
"""
from plugin import BasePlugin
-import tabs
from common import parse_secs_to_str, safeJID
from sleekxmpp.xmlstream import ET