예제 #1
0
 def clear(self):  #PASSING #will need improvement
     from sv import Repository
     if len(Repository.List()) == 0:
         print('Repository Empty')
     else:
         for i in Repository.List():
             Repository.Delete(i)
         print('Repository Cleared')
         for key in self.data_manager.keys():
             self.data_manager[key] = []
         print('Data Manager Cleared')
예제 #2
0
from sv import Repository

objs = Repository.List()
for name in objs:
    Repository.Delete(name)