From e04f09baa3a427fa251affdf459bd657ffbbf015 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sat, 11 Jul 2009 16:12:59 -0800 Subject: [PATCH] print out the modules that failed to load.. [git-p4: depot-paths = "//depot/": change = 1367] --- pymeds.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pymeds.py b/pymeds.py index d376f55..1ec786c 100755 --- a/pymeds.py +++ b/pymeds.py @@ -43,6 +43,13 @@ for i in modules: for i in modules: debug.insertnamespace(i, modmap[i]) +# Check to see which ones didn't get loaded +checkmodules = [ x for x in modmap if modmap[x] is None ] + +if checkmodules: + checkmodules.sort() + print 'The following modules were not loaded:', ', '.join(checkmodules) + from FSStorage import FSDirectory import os import os.path