1.1 --- a/classhook.py Wed Dec 08 23:02:46 2004 +0100
1.2 +++ b/classhook.py Thu Dec 09 02:17:22 2004 +0100
1.3 @@ -137,7 +137,7 @@
1.4 else:
1.5 archive, archive_path, path = self._get_archive_and_path(dir, name)
1.6
1.7 - print "Processing name", name, "in", dir, "producing", path, "within archive", archive
1.8 + #print "Processing name", name, "in", dir, "producing", path, "within archive", archive
1.9
1.10 if self._find_module_at_path(path, archive):
1.11 if archive is not None:
1.12 @@ -175,7 +175,7 @@
1.13
1.14 def _find_module_at_path(self, path, archive):
1.15 if self.hooks.path_isdir(path, archive):
1.16 - print "Looking in", path, "using archive", archive
1.17 + #print "Looking in", path, "using archive", archive
1.18
1.19 # Look for classes in the directory.
1.20
1.21 @@ -184,7 +184,7 @@
1.22
1.23 # Otherwise permit importing where directories containing classes exist.
1.24
1.25 - print "Filenames are", self.hooks.listdir(path, archive)
1.26 + #print "Filenames are", self.hooks.listdir(path, archive)
1.27 for filename in self.hooks.listdir(path, archive):
1.28 pathname = self.hooks.path_join(path, filename)
1.29 result = self._find_module_at_path(pathname, archive)
1.30 @@ -209,7 +209,7 @@
1.31 if datatype not in (JAVA_PACKAGE, JAVA_ARCHIVE):
1.32 return ihooks.ModuleLoader.load_module(self, name, stuff)
1.33
1.34 - print "Loading", archive, filename, info
1.35 + #print "Loading", archive, filename, info
1.36
1.37 # Set up the module.
1.38
1.39 @@ -229,13 +229,13 @@
1.40 # Get the real filename.
1.41
1.42 filename = self._get_path_in_archive(filename)
1.43 - print "Real filename", filename
1.44 + #print "Real filename", filename
1.45
1.46 # Load the class files.
1.47
1.48 class_files = {}
1.49 for class_filename in self.hooks.matching(filename, os.extsep + "class", archive):
1.50 - print "Loading class", class_filename
1.51 + #print "Loading class", class_filename
1.52 s = self.hooks.read(class_filename, archive)
1.53 class_file = classfile.ClassFile(s)
1.54 class_files[str(class_file.this_class.get_name())] = class_file