From dda4e18b810e5f76bca78c80dfb8a3d32e4b5bcf Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 9 Oct 2018 10:57:19 +0200 Subject: [PATCH] examples: Remove unused asyncio imports. --- examples/confirm_answer.py | 1 - examples/disco_browser.py | 1 - examples/http_upload.py | 1 - examples/ibb_transfer/ibb_sender.py | 1 - examples/mam.py | 1 - examples/ping.py | 1 - examples/pubsub_client.py | 1 - examples/s5b_transfer/s5b_receiver.py | 1 - examples/s5b_transfer/s5b_sender.py | 1 - examples/set_avatar.py | 1 - 10 files changed, 10 deletions(-) diff --git a/examples/confirm_answer.py b/examples/confirm_answer.py index 9cfe30f1..f2c4c273 100755 --- a/examples/confirm_answer.py +++ b/examples/confirm_answer.py @@ -15,7 +15,6 @@ from argparse import ArgumentParser import slixmpp from slixmpp.exceptions import XMPPError -from slixmpp import asyncio log = logging.getLogger(__name__) diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 14eeabc8..f0ece32d 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -15,7 +15,6 @@ from argparse import ArgumentParser import slixmpp from slixmpp.exceptions import IqError, IqTimeout -from slixmpp.xmlstream.asyncio import asyncio class Disco(slixmpp.ClientXMPP): diff --git a/examples/http_upload.py b/examples/http_upload.py index 4737731d..2e5476c0 100755 --- a/examples/http_upload.py +++ b/examples/http_upload.py @@ -14,7 +14,6 @@ from getpass import getpass from argparse import ArgumentParser import slixmpp -from slixmpp import asyncio log = logging.getLogger(__name__) diff --git a/examples/ibb_transfer/ibb_sender.py b/examples/ibb_transfer/ibb_sender.py index e66b6749..8600ac80 100755 --- a/examples/ibb_transfer/ibb_sender.py +++ b/examples/ibb_transfer/ibb_sender.py @@ -9,7 +9,6 @@ See the file LICENSE for copying permission. """ -import asyncio import logging from getpass import getpass from argparse import ArgumentParser diff --git a/examples/mam.py b/examples/mam.py index 5f9dde3a..cd6b738a 100755 --- a/examples/mam.py +++ b/examples/mam.py @@ -15,7 +15,6 @@ from argparse import ArgumentParser import slixmpp from slixmpp.exceptions import XMPPError -from slixmpp import asyncio log = logging.getLogger(__name__) diff --git a/examples/ping.py b/examples/ping.py index 65e892a1..cb1bb968 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -13,7 +13,6 @@ import logging from getpass import getpass from argparse import ArgumentParser from slixmpp.exceptions import IqError, IqTimeout -from slixmpp import asyncio import slixmpp diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index 675c01e3..480c7d89 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -5,7 +5,6 @@ import logging from getpass import getpass from argparse import ArgumentParser -import asyncio import slixmpp from slixmpp.exceptions import XMPPError from slixmpp.xmlstream import ET, tostring diff --git a/examples/s5b_transfer/s5b_receiver.py b/examples/s5b_transfer/s5b_receiver.py index bedeaa04..d97d4777 100755 --- a/examples/s5b_transfer/s5b_receiver.py +++ b/examples/s5b_transfer/s5b_receiver.py @@ -9,7 +9,6 @@ See the file LICENSE for copying permission. """ -import asyncio import logging from getpass import getpass from argparse import ArgumentParser diff --git a/examples/s5b_transfer/s5b_sender.py b/examples/s5b_transfer/s5b_sender.py index d729988e..7ef5c99c 100755 --- a/examples/s5b_transfer/s5b_sender.py +++ b/examples/s5b_transfer/s5b_sender.py @@ -9,7 +9,6 @@ See the file LICENSE for copying permission. """ -import asyncio import logging from getpass import getpass from argparse import ArgumentParser diff --git a/examples/set_avatar.py b/examples/set_avatar.py index 26a393c7..6579b2e7 100755 --- a/examples/set_avatar.py +++ b/examples/set_avatar.py @@ -18,7 +18,6 @@ from argparse import ArgumentParser import slixmpp from slixmpp.exceptions import XMPPError -from slixmpp import asyncio class AvatarSetter(slixmpp.ClientXMPP):