summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-25 12:12:29 -0500
committerDan McGee <dan@archlinux.org>2010-08-25 12:12:29 -0500
commitebfc46026fd726222c32ed1251a4752dee88ca42 (patch)
treebfac19715499b6af29474ccc4392588a600e758e /main/models.py
parented71d525e347f77997ea07f22a37a68a0531357f (diff)
Fix multilib SVN link
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py3
1 files changed, 2 insertions, 1 deletions
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 @@ class Package(models.Model):
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'