removed global variables in get_references.py
Merge pull request #1 from idoerg/master

	removed global variables in get_references.py