Пример #1
0
 def rebuild_filesdb():
     for pkg in list_installed():
         ctx.ui.info(_('Adding \'%s\' to db... ') % pkg, noln=True)
         files = installdb.get_files(pkg)
         filesdb.add_files(pkg, files)
         ctx.ui.info(_('OK.'))
Пример #2
0
 def rebuild_filesdb():
     for pkg in list_installed():
         ctx.ui.info(_('Adding \'%s\' to db... ') % pkg, noln=True)
         files = installdb.get_files(pkg)
         filesdb.add_files(pkg, files)
         ctx.ui.info(_('OK.'))