beautify code

This commit is contained in:
Dimitris Zlatanidis 2015-02-14 12:36:15 +02:00
parent 58cbf58318
commit b1f5a8b5cc
4 changed files with 5 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 = []