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".
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import unicode_literals, print_function
 | 
			
		||||
import sys
 | 
			
		||||
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
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
import os, sys, time, sqlite3
 | 
			
		||||
 | 
			
		||||
CONFIG = """\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
 | 
			
		|||
env.usagedb /path/to/your/wormhole/server/usage.sqlite
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
import os, sys, time, sqlite3
 | 
			
		||||
 | 
			
		||||
CONFIG = """\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
 | 
			
		|||
env.usagedb /path/to/your/wormhole/server/usage.sqlite
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
import os, sys, time, sqlite3
 | 
			
		||||
 | 
			
		||||
CONFIG = """\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
 | 
			
		|||
env.usagedb /path/to/your/wormhole/server/usage.sqlite
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
import os, sys, time, sqlite3
 | 
			
		||||
 | 
			
		||||
CONFIG = """\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@ Use the following in /etc/munin/plugin-conf.d/wormhole :
 | 
			
		|||
env.usagedb /path/to/your/wormhole/server/usage.sqlite
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
import os, sys, time, sqlite3
 | 
			
		||||
 | 
			
		||||
CONFIG = """\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import unicode_literals
 | 
			
		||||
import os
 | 
			
		||||
import sqlite3
 | 
			
		||||
import tempfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import unicode_literals, print_function
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
from .. import server_tap
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import print_function, unicode_literals
 | 
			
		||||
import os
 | 
			
		||||
from twisted.python import filepath
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import print_function, unicode_literals
 | 
			
		||||
from unittest import mock
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
from ..increase_rlimits import increase_rlimits
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import unicode_literals, print_function
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
from unittest import mock
 | 
			
		||||
from twisted.application.service import MultiService
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import print_function, unicode_literals
 | 
			
		||||
import os, io, json, sqlite3
 | 
			
		||||
from unittest import mock
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import print_function, unicode_literals
 | 
			
		||||
from binascii import hexlify
 | 
			
		||||
from twisted.trial import unittest
 | 
			
		||||
from .common import ServerBase
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
from __future__ import print_function, unicode_literals
 | 
			
		||||
import re, time, json
 | 
			
		||||
from collections import defaultdict
 | 
			
		||||
from twisted.python import log
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user