fix:__future__ imports must be the first thing in every file
This commit is contained in:
parent
766c40c790
commit
dd366cb085
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import protocol_pb2
|
import protocol_pb2
|
||||||
import socket
|
import socket
|
||||||
import struct
|
import struct
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import asyncore, socket
|
import asyncore, socket
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
import inspect
|
import inspect
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from Spectrum2 import protocol_pb2
|
from Spectrum2 import protocol_pb2
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
class Deferred(object):
|
class Deferred(object):
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from Spectrum2 import protocol_pb2
|
from Spectrum2 import protocol_pb2
|
||||||
|
|
||||||
class Group():
|
class Group():
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,8 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
from Spectrum2 import protocol_pb2
|
from Spectrum2 import protocol_pb2
|
||||||
|
|
||||||
from yowsupwrapper import YowsupApp
|
from yowsupwrapper import YowsupApp
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import utils
|
import utils
|
||||||
import logging
|
import logging
|
||||||
import urllib
|
import urllib
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import Queue
|
import Queue
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -23,9 +26,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import traceback
|
import traceback
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import e4u
|
import e4u
|
||||||
import base64
|
import base64
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from Spectrum2.backend import SpectrumBackend
|
from Spectrum2.backend import SpectrumBackend
|
||||||
from Spectrum2 import protocol_pb2
|
from Spectrum2 import protocol_pb2
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# use unicode encoding for all literals by default (for python2.x)
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__author__ = "Steffen Vogel"
|
__author__ = "Steffen Vogel"
|
||||||
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
__copyright__ = "Copyright 2015-2017, Steffen Vogel"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
@ -21,9 +24,6 @@ __email__ = "post@steffenvogel.de"
|
||||||
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# use unicode encoding for all literals by default (for python2.x)
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from yowsup import env
|
from yowsup import env
|
||||||
|
|
Loading…
Reference in a new issue