Changeset 380
- Timestamp:
- Tue Dec 4 10:51:07 2007
- Files:
-
- branches/python2.5/mf.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/python2.5/mf.py
r377 r380 560 560 pth = os.path.dirname(pth) 561 561 self.__path__ = [ pth ] 562 self.subimporter = PathImportDirector(self.__path__) 562 self._update_director(force=True) 563 def _update_director(self, force=False): 564 if force or self.subimporter.path != self.__path__: 565 self.subimporter = PathImportDirector(self.__path__) 563 566 def doimport(self, nm): 567 self._update_director() 564 568 mod = self.subimporter.getmod(nm) 565 569 if mod:
