Properly handle labels without a "lang" in graph_extentities()
Previously, the "lang" value could be None because of getattr(..., None). Subsequent usages of this value do not look quite right (e.g. str(None) or set([None])). Instead, we now catch attribute error and build the md5hash without the None value as well as insert an empty set for language_code attribute when importing a label. This also prepares for upgrade to python3.
Please register or sign in to comment