mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-22 06:54:43 +01:00
Remove inused import and ignore bytecode
This commit is contained in:
parent
1bca8e8279
commit
eb4f4f52b3
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
1
bird.py
1
bird.py
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
|
||||||
|
|
||||||
BUFSIZE = 4096
|
BUFSIZE = 4096
|
||||||
|
|
||||||
|
|
3
lg.py
3
lg.py
|
@ -20,8 +20,6 @@
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import re
|
import re
|
||||||
from urllib2 import urlopen
|
from urllib2 import urlopen
|
||||||
|
@ -29,7 +27,6 @@ from urllib import quote, unquote
|
||||||
|
|
||||||
from toolbox import mask_is_valid, ipv6_is_valid, ipv4_is_valid, resolve
|
from toolbox import mask_is_valid, ipv6_is_valid, ipv4_is_valid, resolve
|
||||||
|
|
||||||
from bird import BirdSocketSingleton
|
|
||||||
from flask import Flask, render_template, jsonify, redirect, session, request, abort
|
from flask import Flask, render_template, jsonify, redirect, session, request, abort
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
|
|
||||||
from dns import resolver,reversename
|
from dns import resolver
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue