From 87198501dc070f2b27ed712eb22257eae4a60698 Mon Sep 17 00:00:00 2001 From: rht Date: Wed, 1 Apr 2020 08:24:10 -0400 Subject: [PATCH] examples: Remove from __future__ imports. --- zulip/zulip/examples/create-user | 1 - zulip/zulip/examples/edit-message | 1 - zulip/zulip/examples/get-public-streams | 1 - zulip/zulip/examples/get-user-presence | 1 - zulip/zulip/examples/list-members | 1 - zulip/zulip/examples/list-subscriptions | 1 - zulip/zulip/examples/print-events | 1 - zulip/zulip/examples/print-messages | 1 - zulip/zulip/examples/send-message | 1 - zulip/zulip/examples/subscribe | 1 - zulip/zulip/examples/unsubscribe | 1 - zulip/zulip/examples/upload-file | 1 - 12 files changed, 12 deletions(-) diff --git a/zulip/zulip/examples/create-user b/zulip/zulip/examples/create-user index 66256f8..1f2dc55 100755 --- a/zulip/zulip/examples/create-user +++ b/zulip/zulip/examples/create-user @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """create-user --new-email= --new-password= --new-full-name= --new-short-name= [options] diff --git a/zulip/zulip/examples/edit-message b/zulip/zulip/examples/edit-message index 7fcd826..2b63c4b 100755 --- a/zulip/zulip/examples/edit-message +++ b/zulip/zulip/examples/edit-message @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """edit-message [options] --message-id= --subject= --content= diff --git a/zulip/zulip/examples/get-public-streams b/zulip/zulip/examples/get-public-streams index 180090b..5968981 100755 --- a/zulip/zulip/examples/get-public-streams +++ b/zulip/zulip/examples/get-public-streams @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """get-public-streams [options] diff --git a/zulip/zulip/examples/get-user-presence b/zulip/zulip/examples/get-user-presence index 7b71ec3..5e7c940 100755 --- a/zulip/zulip/examples/get-user-presence +++ b/zulip/zulip/examples/get-user-presence @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """get-user-presence --email= [options] diff --git a/zulip/zulip/examples/list-members b/zulip/zulip/examples/list-members index ef8b8ec..2c682ff 100755 --- a/zulip/zulip/examples/list-members +++ b/zulip/zulip/examples/list-members @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """list-members [options] diff --git a/zulip/zulip/examples/list-subscriptions b/zulip/zulip/examples/list-subscriptions index cba6df9..cf00432 100755 --- a/zulip/zulip/examples/list-subscriptions +++ b/zulip/zulip/examples/list-subscriptions @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse usage = """list-subscriptions [options] diff --git a/zulip/zulip/examples/print-events b/zulip/zulip/examples/print-events index 0548346..5f698ed 100755 --- a/zulip/zulip/examples/print-events +++ b/zulip/zulip/examples/print-events @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse from typing import Any, Dict diff --git a/zulip/zulip/examples/print-messages b/zulip/zulip/examples/print-messages index 26670af..21adb28 100755 --- a/zulip/zulip/examples/print-messages +++ b/zulip/zulip/examples/print-messages @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse from typing import Any, Dict diff --git a/zulip/zulip/examples/send-message b/zulip/zulip/examples/send-message index 04bc2f4..2cfb592 100755 --- a/zulip/zulip/examples/send-message +++ b/zulip/zulip/examples/send-message @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse import zulip diff --git a/zulip/zulip/examples/subscribe b/zulip/zulip/examples/subscribe index a520ea2..503b88b 100755 --- a/zulip/zulip/examples/subscribe +++ b/zulip/zulip/examples/subscribe @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import sys import argparse diff --git a/zulip/zulip/examples/unsubscribe b/zulip/zulip/examples/unsubscribe index 6baca39..f728c99 100755 --- a/zulip/zulip/examples/unsubscribe +++ b/zulip/zulip/examples/unsubscribe @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import sys import argparse diff --git a/zulip/zulip/examples/upload-file b/zulip/zulip/examples/upload-file index 7995e53..0ac70aa 100755 --- a/zulip/zulip/examples/upload-file +++ b/zulip/zulip/examples/upload-file @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from __future__ import print_function import argparse from six.moves import StringIO as _StringIO