Skip to content

Instantly share code, notes, and snippets.

@fish2000
Created September 10, 2011 01:45
Show Gist options
  • Save fish2000/1207812 to your computer and use it in GitHub Desktop.
Save fish2000/1207812 to your computer and use it in GitHub Desktop.
I had to delete this but I will miss the melodramatic comments
# If everything were perfectly predictable, we'd be able
# to replace these next two ifs with one that considers
# whether addendum.__package__ == addendumstring ... but no.
# C'est la guerre.
if hasattr(addendum, '__package__'):
if addendum.__package__ not in (None, ''):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment