~netlandish/django-pagination

ad03303fd5bf966f5744d3115cf911f5fddd354c — floguy 16 years ago 652529c
Fix a possible uncaught attribute error.  Thanks for the bug report, bela.hausmann.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@40 7f1efe38-554e-0410-b69d-834cb44da2d5
1 files changed, 1 insertions(+), 1 deletions(-)

M pagination/templatetags/pagination_tags.py
M pagination/templatetags/pagination_tags.py => pagination/templatetags/pagination_tags.py +1 -1
@@ 185,7 185,7 @@ def paginate(context, window=DEFAULT_WINDOW):
            else:
                to_return['getvars'] = ''
        return to_return
    except KeyError:
    except KeyError, AttributeError:
        return {}
register.inclusion_tag('pagination/pagination.html', takes_context=True)(paginate)
register.tag('autopaginate', do_autopaginate)