Fixed bug.

This commit is contained in:
Jeremy Fincher 2004-10-23 16:02:49 +00:00
parent e24c1c0cc6
commit 06c16396b0

View File

@ -142,7 +142,7 @@ class LicenseKey(registry.String):
if s: if s:
google.setLicense(self.value) google.setLicense(self.value)
except AttributeError: except AttributeError:
if not world.dying: if world and not world.dying: # At shutdown world can be None.
raise callbacks.Error, \ raise callbacks.Error, \
'It appears that the initial import of ' \ 'It appears that the initial import of ' \
'our underlying google.py module has ' \ 'our underlying google.py module has ' \