compile
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 18 Jun 2007 10:52:17 +0000 (10:52 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 18 Jun 2007 10:52:17 +0000 (10:52 +0000)
src/zypper-sources.cc

index db723a6..821a11e 100644 (file)
@@ -283,7 +283,7 @@ int add_repo_from_file(const std::string & repo_file_url,
   //! \todo handle local .repo files, validate the URL
   Url url(repo_file_url);
   RepoManager manager;
-  list<RepoInfo> repos = manager.readRepoFile(url);
+  list<RepoInfo> repos = readRepoFile(url);
 
   for (list<RepoInfo>::iterator it = repos.begin();
        it !=  repos.end(); ++it)