diff options
author | Dan McGee <dan@archlinux.org> | 2010-11-27 15:04:44 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-11-27 15:04:44 -0600 |
commit | 14c8833cf0e1e2e6bd2b59f9da9944757aa47c70 (patch) | |
tree | 3a08e1ede2c604d8ea5e9ba5691919c1ed5a092a /feeds.py | |
parent | 9acae339ffefa1193b25e28efc3dc4c3533b7188 (diff) |
Fix feeds for case-sensitive databases
This worked in MySQL because of it's case-insensitive matching, but does
not work in other databases unless we coerce the value.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'feeds.py')
-rw-r--r-- | feeds.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ class PackageFeed(Feed): obj['arch'] = a if repo != '': # feed for a single arch AND repo - r = Repo.objects.get(name=repo) + r = Repo.objects.get(name__iexact=repo) qs = qs.filter(repo=r) obj['repo'] = r obj['qs'] = qs[:50] |