From: Diane Trout Date: Wed, 9 Jan 2013 00:03:34 +0000 (-0800) Subject: Don't accidentally transform an object into a tuple. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=6824b9a5bd9eaeb092caf9b9fcb8afe1f4cdda96 Don't accidentally transform an object into a tuple. I had an extra ',' that was turning a simple assignment into assignment of a tuple containing the variable I was expecting. needless to say this cause trouble. --- diff --git a/htsworkflow/frontend/samples/changelist.py b/htsworkflow/frontend/samples/changelist.py index 54aeed1..1b50418 100644 --- a/htsworkflow/frontend/samples/changelist.py +++ b/htsworkflow/frontend/samples/changelist.py @@ -38,8 +38,8 @@ class HTSChangeList(ChangeList): def get_query_set(self, request=None): args = {} if django.VERSION[0] >= 1 and django.VERSION[1] >= 4: - args['request'] = request, #list_max_show_all - + args['request'] = request #list_max_show_all + qs = super(HTSChangeList, self).get_query_set(**args) if self.extra_filters: new_qs = qs.filter(**self.extra_filters)