Created
October 16, 2012 01:41
-
-
Save yaleman/3896818 to your computer and use it in GitHub Desktop.
I'm going to hell for this...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for plugin in self._init_plugins: | |
# I'm sure I'll go to hell for this. | |
exec( "import {}".format( plugin ) ) | |
print "Loading plugin {}".format( plugin ) | |
eval( 'self.register_plugin( {} )'.format( self._init_plugins[plugin] ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment