remove 'from __future__' imports

This commit is contained in:
meejah 2021-04-15 07:40:15 -06:00
parent e34cf94271
commit a2866c55c9
14 changed files with 0 additions and 14 deletions

View File

@ -18,7 +18,6 @@ The resuting "usage.sqlite" should be passed into --usage-db=, e.g. "twist
transitrelay --usage=.../PATH/TO/usage.sqlite". transitrelay --usage=.../PATH/TO/usage.sqlite".
""" """
from __future__ import unicode_literals, print_function
import sys import sys
from wormhole_transit_relay.database import open_existing_db, create_db from wormhole_transit_relay.database import open_existing_db, create_db

View File

@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
env.usagedb /path/to/your/wormhole/server/usage.sqlite env.usagedb /path/to/your/wormhole/server/usage.sqlite
""" """
from __future__ import print_function
import os, sys, time, sqlite3 import os, sys, time, sqlite3
CONFIG = """\ CONFIG = """\

View File

@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
env.usagedb /path/to/your/wormhole/server/usage.sqlite env.usagedb /path/to/your/wormhole/server/usage.sqlite
""" """
from __future__ import print_function
import os, sys, time, sqlite3 import os, sys, time, sqlite3
CONFIG = """\ CONFIG = """\

View File

@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
env.usagedb /path/to/your/wormhole/server/usage.sqlite env.usagedb /path/to/your/wormhole/server/usage.sqlite
""" """
from __future__ import print_function
import os, sys, time, sqlite3 import os, sys, time, sqlite3
CONFIG = """\ CONFIG = """\

View File

@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
env.usagedb /path/to/your/wormhole/server/usage.sqlite env.usagedb /path/to/your/wormhole/server/usage.sqlite
""" """
from __future__ import print_function
import os, sys, time, sqlite3 import os, sys, time, sqlite3
CONFIG = """\ CONFIG = """\

View File

@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
env.usagedb /path/to/your/wormhole/server/usage.sqlite env.usagedb /path/to/your/wormhole/server/usage.sqlite
""" """
from __future__ import print_function
import os, sys, time, sqlite3 import os, sys, time, sqlite3
CONFIG = """\ CONFIG = """\

View File

@ -1,4 +1,3 @@
from __future__ import unicode_literals
import os import os
import sqlite3 import sqlite3
import tempfile import tempfile

View File

@ -1,4 +1,3 @@
from __future__ import unicode_literals, print_function
from twisted.trial import unittest from twisted.trial import unittest
from .. import server_tap from .. import server_tap

View File

@ -1,4 +1,3 @@
from __future__ import print_function, unicode_literals
import os import os
from twisted.python import filepath from twisted.python import filepath
from twisted.trial import unittest from twisted.trial import unittest

View File

@ -1,4 +1,3 @@
from __future__ import print_function, unicode_literals
from unittest import mock from unittest import mock
from twisted.trial import unittest from twisted.trial import unittest
from ..increase_rlimits import increase_rlimits from ..increase_rlimits import increase_rlimits

View File

@ -1,4 +1,3 @@
from __future__ import unicode_literals, print_function
from twisted.trial import unittest from twisted.trial import unittest
from unittest import mock from unittest import mock
from twisted.application.service import MultiService from twisted.application.service import MultiService

View File

@ -1,4 +1,3 @@
from __future__ import print_function, unicode_literals
import os, io, json, sqlite3 import os, io, json, sqlite3
from unittest import mock from unittest import mock
from twisted.trial import unittest from twisted.trial import unittest

View File

@ -1,4 +1,3 @@
from __future__ import print_function, unicode_literals
from binascii import hexlify from binascii import hexlify
from twisted.trial import unittest from twisted.trial import unittest
from .common import ServerBase from .common import ServerBase

View File

@ -1,4 +1,3 @@
from __future__ import print_function, unicode_literals
import re, time, json import re, time, json
from collections import defaultdict from collections import defaultdict
from twisted.python import log from twisted.python import log