From 488cbced7d18a613108bd6b38859fb8cc1c6e435 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 25 May 2013 12:55:48 -0400 Subject: [PATCH] fix devsup module importing --- python/devsup/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/devsup/db.py b/python/devsup/db.py index 230fec2..e6c7a6e 100644 --- a/python/devsup/db.py +++ b/python/devsup/db.py @@ -323,5 +323,5 @@ def processLink(name, lstr): rec = getRecord(name) parts = lstr.split(None,1) modname, args = parts[0], parts[1] if len(parts)>1 else None - mod = __import__(modname) + mod = __import__(modname, fromlist=['__should_not_exist']) return rec, mod.build(rec, args)