From ebfc46026fd726222c32ed1251a4752dee88ca42 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 25 Aug 2010 12:12:29 -0500 Subject: Fix multilib SVN link Signed-off-by: Dan McGee --- main/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/models.py b/main/models.py index 792c0392..21c49fe3 100644 --- a/main/models.py +++ b/main/models.py @@ -296,7 +296,8 @@ def split_packages(self): def get_svn_link(self, svnpath): linkbase = "http://repos.archlinux.org/wsvn/%s/%s/%s/" repo = self.repo.name.lower() - if repo.startswith('community'): + # TODO: de-hackify and make this a property on repo object + if repo.startswith('community') or repo == 'multilib': root = 'community' else: root = 'packages' -- cgit v1.2.3-54-g00ecf