mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 01:02:17 -05:00
checkdeadlinks: Remove unused imports.
This commit is contained in:
parent
358fce4443
commit
230bab3bf9
@ -36,19 +36,12 @@
|
|||||||
A script for checking XEPs for dead links.
|
A script for checking XEPs for dead links.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import glob
|
|
||||||
import os
|
|
||||||
from select import select
|
|
||||||
import socket
|
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
from string import split,strip,join,find
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
|
||||||
import re
|
import re
|
||||||
import urllib
|
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
from xml.dom.minidom import parse,parseString,Document
|
from xml.dom.minidom import parse
|
||||||
|
|
||||||
def is_dead(url):
|
def is_dead(url):
|
||||||
if re.match("^(http|https)", url):
|
if re.match("^(http|https)", url):
|
||||||
|
Loading…
Reference in New Issue
Block a user