Skip to content

Commit 5474ed3

Browse files
gabibeyermatthewrsj
authored andcommitted
fix make check for infile
Signed-off-by: Gabi Beyer <[email protected]>
1 parent 953dffd commit 5474ed3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

autospec/infile_bb_parser.py

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#
1919

2020
import re
21-
import util
2221

2322
# TODO: VAR_append = "" _append same functionality as +=
2423
operators_dict = {

autospec/infile_handler.py

-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import re
2222
import requests
2323
import tempfile
24-
from pprint import pprint
2524
from urllib.request import urlretrieve
2625

2726
import util
@@ -111,7 +110,6 @@ def file_handler(indata, output_dict):
111110
output_dict['filename'] = [indata]
112111

113112
if not os.path.isfile(indata):
114-
# if re.match(r'^(http|ftp)s?://(.*)(\.[A-za-z]+)+$', indata):
115113
# check that input is plain or raw text and not html
116114
indata = check_url_content(indata)
117115
with tempfile.NamedTemporaryFile() as tmpfile:

autospec/infile_update_spec.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import re
2121

22+
2223
def update_summary(bb_dict, specfile):
2324
"""
2425
Updates the default summary to the summary or description scraped from

0 commit comments

Comments
 (0)