diff options
| author | Piotr Jakimiak <pj306228@students.mimuw.edu.pl> | 2015-05-13 20:51:18 +0200 |
|---|---|---|
| committer | Piotr Jakimiak <pj306228@students.mimuw.edu.pl> | 2015-05-13 20:51:18 +0200 |
| commit | 4157c502a5202798d0f73645181cb82aa71d34d9 (patch) | |
| tree | 78c99c7fd271f6c25a71b2ccf781ab7928396677 /django/contrib/postgres/forms/array.py | |
| parent | f61c4f490dc4c8ec6ba94ad4f40247db2425fc3e (diff) | |
Removed unnecessary arguments in .get method calls
Diffstat (limited to 'django/contrib/postgres/forms/array.py')
| -rw-r--r-- | django/contrib/postgres/forms/array.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/postgres/forms/array.py b/django/contrib/postgres/forms/array.py index 01c4d53527..1e8b44f975 100644 --- a/django/contrib/postgres/forms/array.py +++ b/django/contrib/postgres/forms/array.py @@ -112,7 +112,7 @@ class SplitArrayWidget(forms.Widget): value = value or [] output = [] final_attrs = self.build_attrs(attrs) - id_ = final_attrs.get('id', None) + id_ = final_attrs.get('id') for i in range(max(len(value), self.size)): try: widget_value = value[i] |
