mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-21 22:44: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
|
3
lg.py
3
lg.py
|
@ -20,8 +20,6 @@
|
|||
#
|
||||
###
|
||||
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
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 bird import BirdSocketSingleton
|
||||
from flask import Flask, render_template, jsonify, redirect, session, request, abort
|
||||
|
||||
app = Flask(__name__)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
###
|
||||
|
||||
from dns import resolver,reversename
|
||||
from dns import resolver
|
||||
import socket
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue