Merge branch 'master' of git://git.assembla.com/fpdboz

This commit is contained in:
Ray
2009-03-14 12:54:11 -04:00
10 changed files with 458 additions and 181 deletions
+2 -1
View File
@@ -43,11 +43,12 @@ import Configuration
import Stats
import Mucked
import Database
import HUD_main
import HUD_main
def importName(module_name, name):
"""Import a named object 'name' from module 'module_name'."""
# Recipe 16.3 in the Python Cookbook, 2nd ed. Thanks!!!!
try:
module = __import__(module_name, globals(), locals(), [name])
except: