remove 'from __future__' imports
This commit is contained in:
parent
e34cf94271
commit
a2866c55c9
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 = """\
|
||||||
|
|
|
@ -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 = """\
|
||||||
|
|
|
@ -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 = """\
|
||||||
|
|
|
@ -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 = """\
|
||||||
|
|
|
@ -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 = """\
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
from __future__ import unicode_literals
|
|
||||||
import os
|
import os
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user