diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-01-09 10:15:21 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-01-09 10:15:21 +0000 |
commit | cb69a9f6ce005671cd7b39ebb16d7469d958fa5a (patch) | |
tree | 0ebf3a2031f39ee26a65f41209da08494cddae8b /numpy/_import_tools.py | |
parent | 5d495dd5e9c3f1d2311a3a860a11c7d220f18e8d (diff) | |
download | numpy-cb69a9f6ce005671cd7b39ebb16d7469d958fa5a.tar.gz |
Improved warning message for non-existing packages in pkgload call.
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r-- | numpy/_import_tools.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py index ca9a4ceed..248c68e6a 100644 --- a/numpy/_import_tools.py +++ b/numpy/_import_tools.py @@ -59,8 +59,8 @@ class PackageLoader: info_files.extend(names_files) break else: - self.warn('Package %r does not have info.py file. Ignoring.'\ - % package_name) + self.warn('No scipy-style subpackage %r found in %s. Ignoring.'\ + % (package_name,':'.join(self.parent_path))) info_modules = self.info_modules for package_name,info_file in info_files: @@ -137,7 +137,7 @@ class PackageLoader: to load all of them in one call. If a name which doesn't exist in scipy's namespace is - given, a warning on missing info.py file is shown. + given, a warning is shown. Inputs: |