diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-25 12:12:29 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-25 12:12:29 -0500 |
commit | ebfc46026fd726222c32ed1251a4752dee88ca42 (patch) | |
tree | bfac19715499b6af29474ccc4392588a600e758e /main/models.py | |
parent | ed71d525e347f77997ea07f22a37a68a0531357f (diff) |
Fix multilib SVN link
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 3 |
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' |