Browse Source

print out the modules that failed to load..

[git-p4: depot-paths = "//depot/": change = 1367]
main
John-Mark Gurney 15 years ago
parent
commit
e04f09baa3
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      pymeds.py

+ 7
- 0
pymeds.py View File

@@ -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


Loading…
Cancel
Save