LUN-2235 Simplified the logic for detecting duplicate variable names.
LUN-2235 Simplified the logic for detecting duplicate variable names.

pbs/django-cms-smartsnippets,pbs/django-cms-smartsnippets,pbs/django-cms-smartsnippets,pbs/django-cms-smartsnippets