Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
Re: [zypp-devel] Comments/ideas for libzypp-bindings-python
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Fri, 5 Sep 2008 15:01:44 +0200
  • Message-id: <200809051501.44335.dl9pf@xxxxxx>
Am Freitag 05 September 2008 14:41:16 schrieb Michael Andres:
But i't convenient, so I'll add it if it works.

repoManager = zypp.RepoManager()
repos = repoManager.knownRepositories()
for repo in repos:
if not repo.enabled():
continue
if not repoManager.isCached( repo ):
repoManager.buildCache( repo )
repoManager.loadFromCache( repo );

Which makes thinks clear to me.

Tnx for clarifying.

Best regards
Jan-Simon
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >