Commit 69fec4f5 authored by Andreas Jung's avatar Andreas Jung

- Collector #259: walkandscrub.py did not delete all .pyc and .pyo

        files during installation. Fixed.
parent b15aa4e3
...@@ -56,6 +56,8 @@ Zope Changes ...@@ -56,6 +56,8 @@ Zope Changes
- Collector #254: return owner object from getOwner wrapped in its - Collector #254: return owner object from getOwner wrapped in its
context context
- Collector #259: walkandscrub.py did not delete all .pyc and .pyo
files during installation. Fixed.
Zope 2.5.1 beta 1 Zope 2.5.1 beta 1
......
...@@ -40,7 +40,6 @@ def scrub(list, dirname, filelist): ...@@ -40,7 +40,6 @@ def scrub(list, dirname, filelist):
if ext == '.pyo' or ext == '.pyc': if ext == '.pyo' or ext == '.pyc':
full = os.path.join(dirname, name) full = os.path.join(dirname, name)
os.unlink(full) os.unlink(full)
filelist.remove(name)
if DEBUG: print full if DEBUG: print full
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment