Protect against source_filename being None when analyzing constants
authorColin Walters <walters@verbum.org>
Mon, 17 Aug 2009 03:21:20 +0000 (23:21 -0400)
committerColin Walters <walters@verbum.org>
Mon, 17 Aug 2009 03:22:35 +0000 (23:22 -0400)
commitc35c88f77c996b99827c3ef4e9ac69fe379629b4
treef497307aeebb66872ca2f897e88748705de81794
parenta065ef184b3b1d90dc9af9cbe89093542b5e1853
Protect against source_filename being None when analyzing constants

It's allowed for source_filename to be None if we can't match it
up with a file, so just skip the constant in that case.
giscanner/transformer.py