source: NEMO/releases/r4.0/r4.0.2/doc/tools/check_pkg.py @ 14485

Last change on this file since 14485 was 14485, checked in by nicolasmartin, 10 months ago

Apply patch file

  • Property svn:executable set to *
File size: 183 bytes
Line 
1#!/usr/bin/env python2
2
3import sys, importlib
4
5for argv in sys.argv[1:]:
6   try:
7      importlib.import_module(argv)
8   except ImportError:
9      print("Package %s is missing in Python" % argv)
10
Note: See TracBrowser for help on using the repository browser.