Add package security

This commit is contained in:
Dimitris Zlatanidis 2017-02-23 20:47:43 +02:00
parent 83cb2500b8
commit d9623d5d71

View file

@ -31,6 +31,7 @@ from slpkg.messages import Msg
from slpkg.blacklist import BlackList
from slpkg.downloader import Download
from slpkg.dialog_box import DialogUtil
from slpkg.security import pkg_security
from slpkg.__metadata__ import MetaData as _meta_
from slpkg.pkg.find import find_package
@ -54,6 +55,7 @@ class SBoNetwork(object):
"""
def __init__(self, name, flag):
self.name = name
pkg_security([self.name])
self.flag = flag
self.meta = _meta_
self.msg = Msg()