ecometrica/django-vinaigrette — Issue #1: Some database backends returns pk as instance of long type instead of int
Author: yaselc
Created: 2011-10-26 05:45:46+00:00
State: open

Some database backends returns pk as instance of long type instead of int. Replace line 80 in makemessages.py command to:

idnum = idnum if isinstance(idnum, (int,long)) or idnum.isdigit() else 0