Line
Link Here
|
0 |
-- a/bin/repoman |
0 |
++ b/bin/repoman |
Lines 24-29
Link Here
|
24 |
import platform |
24 |
import platform |
25 |
from itertools import chain |
25 |
from itertools import chain |
26 |
from stat import S_ISDIR |
26 |
from stat import S_ISDIR |
|
|
27 |
from pprint import pformat |
27 |
|
28 |
|
28 |
try: |
29 |
try: |
29 |
from urllib.parse import urlparse |
30 |
from urllib.parse import urlparse |
Lines 2396-2409
Link Here
|
2396 |
if not atoms: |
2397 |
if not atoms: |
2397 |
continue |
2398 |
continue |
2398 |
stats[mykey] += 1 |
2399 |
stats[mykey] += 1 |
2399 |
fails[mykey].append("%s: %s: %s(%s) %s" % \ |
2400 |
fails[mykey].append("%s: %s: %s(%s)\n%s" % \ |
2400 |
(relative_path, mytype, keyword, |
2401 |
(relative_path, mytype, keyword, |
2401 |
prof, repr(atoms))) |
2402 |
prof, pformat(atoms, indent=6))) |
2402 |
else: |
2403 |
else: |
2403 |
stats[mykey] += 1 |
2404 |
stats[mykey] += 1 |
2404 |
fails[mykey].append("%s: %s: %s(%s) %s" % \ |
2405 |
fails[mykey].append("%s: %s: %s(%s)\n%s" % \ |
2405 |
(relative_path, mytype, keyword, |
2406 |
(relative_path, mytype, keyword, |
2406 |
prof, repr(atoms))) |
2407 |
prof, pformat(atoms, indent=6))) |
2407 |
|
2408 |
|
2408 |
if not baddepsyntax and unknown_pkgs: |
2409 |
if not baddepsyntax and unknown_pkgs: |
2409 |
type_map = {} |
2410 |
type_map = {} |