lamby/django-lint — Issue #8: AttributeError: 'Assign' object has no attribute 'getChildNodes'
Author: kmmbvnr
Created: 2012-01-28 04:43:40+00:00
State: open

File "/home/kmmbvnr/Projects/wthr.cc/mobistyle/env/local/lib/python2.7/site-packages/DjangoLint/AstCheckers/model_fields.py", line 100, in visit_callfunc
x = node.parent.getChildNodes()[0]
AttributeError: 'Assign' object has no attribute 'getChildNodes'

And here is the file content
==========================
# -*- coding: utf-8; mode: django -*-
from django.db import models

class TheModel(models.Model):
slug = models.SlugField(primary_key=True)
================================================