Entropy/*:

- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2009-03-08 15:49:55 +00:00
parent 1b0435dda9
commit 83e184fc5e
17 changed files with 52 additions and 66 deletions

View File

@@ -20,13 +20,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
'''
from entropy import EquoInterface
from entropy.client.interfaces import Client
def cache(options):
rc = 0
if len(options) < 1:
return -10
Equo = EquoInterface(noclientdb = True)
Equo = Client(noclientdb = True)
if options[0] == "clean":
Equo.purge_cache()
elif options[0] == "generate":