mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
beautify code
This commit is contained in:
parent
58cbf58318
commit
b1f5a8b5cc
4 changed files with 5 additions and 7 deletions
|
@ -28,10 +28,10 @@ from slpkg.utils import Utils
|
|||
from slpkg.sizes import units
|
||||
from slpkg.messages import Msg
|
||||
from slpkg.remove import delete
|
||||
from slpkg.log_deps import write_deps
|
||||
from slpkg.checksum import check_md5
|
||||
from slpkg.blacklist import BlackList
|
||||
from slpkg.downloader import Download
|
||||
from slpkg.log_deps import write_deps
|
||||
from slpkg.grep_md5 import pkg_checksum
|
||||
from slpkg.splitting import split_package
|
||||
from slpkg.__metadata__ import MetaData as _m
|
||||
|
|
|
@ -28,10 +28,10 @@ import sys
|
|||
import tarfile
|
||||
import subprocess
|
||||
|
||||
from checksum import check_md5
|
||||
from grep_md5 import pkg_checksum
|
||||
from url_read import URL
|
||||
from checksum import check_md5
|
||||
from downloader import Download
|
||||
from grep_md5 import pkg_checksum
|
||||
from __metadata__ import MetaData as _m
|
||||
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ from __metadata__ import MetaData as _m
|
|||
|
||||
from pkg.find import find_package
|
||||
|
||||
from sbo.search import sbo_search_pkg
|
||||
from sbo.dependency import Requires
|
||||
from sbo.search import sbo_search_pkg
|
||||
|
||||
from binary.search import search_pkg
|
||||
from binary.dependency import Dependencies
|
||||
|
|
|
@ -73,9 +73,7 @@ class Utils(object):
|
|||
return downloaded
|
||||
|
||||
def read_file_pkg(self, file_pkg):
|
||||
'''
|
||||
Return packages from file
|
||||
'''
|
||||
""" Return packages from file """
|
||||
packages = []
|
||||
if os.path.isfile(file_pkg):
|
||||
packages = []
|
||||
|
|
Loading…
Reference in a new issue