- reenable variable replacement in RepoInfoBase::name()
authorJan Kupec <jkupec@suse.cz>
Tue, 29 Jul 2008 15:57:34 +0000 (15:57 +0000)
committerJan Kupec <jkupec@suse.cz>
Tue, 29 Jul 2008 15:57:34 +0000 (15:57 +0000)
zypp/repo/RepoInfoBase.cc

index 95a1913..82eb993 100644 (file)
@@ -11,6 +11,8 @@
  */
 #include <iostream>
 
+#include "zypp/repo/RepoVariables.h"
+
 #include "zypp/repo/RepoInfoBase.h"
 #include "zypp/repo/RepoInfoBaseImpl.h"
 
@@ -115,8 +117,8 @@ namespace zypp
       return alias();
     }
 
-    //! \todo repo::RepoVariablesStringReplacer replacer;
-    return _pimpl->name; //replacer(_pimpl->name);
+    repo::RepoVariablesStringReplacer replacer;
+    return replacer(_pimpl->name);
   }
 
   Pathname RepoInfoBase::filepath() const