Fix missing encoding pragma on python files

This commit is contained in:
jo 2021-05-27 15:21:02 +02:00
parent 0cd499eee1
commit ac17db97fc
85 changed files with 85 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import runpy
# Run the liquidsoap python module

View file

@ -1,4 +1,5 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import runpy
runpy.run_module("pypo", run_name="__main__")

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" Runs Airtime liquidsoap
"""
import argparse

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import logging
import os

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from api_clients import version1 as api_client
import sys

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from configobj import ConfigObj
import telnetlib
import sys

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
"""
Python part of radio playout (pypo)
"""

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
FILE = "file"
EVENT = "event"
STREAM_BUFFER_START = "stream_buffer_start"

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from threading import Thread
import urllib.request, urllib.error, urllib.parse
import defusedxml.minidom

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import re
from packaging.version import Version, parse

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from threading import Thread
from collections import deque
from datetime import datetime

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from .pypofetch import PypoFetch
from .telnetliquidsoap import TelnetLiquidsoap

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import telnetlib
from .timeout import ls_timeout

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from .pypoliqqueue import PypoLiqQueue
from .telnetliquidsoap import DummyTelnetLiquidsoap, TelnetLiquidsoap

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import threading
from . import pypofetch

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup
from subprocess import call