[py-svn] r34415 - py/dist/py/path/local
fijal at codespeak.net
fijal at codespeak.net
Thu Nov 9 15:25:39 CET 2006
Author: fijal
Date: Thu Nov 9 15:25:34 2006
New Revision: 34415
Modified:
py/dist/py/path/local/local.py
Log:
Removed debug code (commented anyway).
Modified: py/dist/py/path/local/local.py
==============================================================================
--- py/dist/py/path/local/local.py (original)
+++ py/dist/py/path/local/local.py Thu Nov 9 15:25:34 2006
@@ -55,10 +55,6 @@
Note also that passing in a local path object will simply return
the exact same path object. Use new() to get a new copy.
"""
- #try:
- # return cls._path_cache[path]
- #except KeyError:
- # pass
if isinstance(path, common.FSPathBase):
if path.__class__ == cls:
return path
@@ -74,7 +70,6 @@
"can only pass None, Path instances "
"or non-empty strings to LocalPath")
assert isinstance(self.strpath, str)
- #cls._path_cache[path] = self
return self
def __hash__(self):
More information about the py-svn
mailing list