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:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user