don't try to remove pycs twice
This commit is contained in:
parent
4fcd346838
commit
1707168b62
|
@ -103,6 +103,7 @@ def _drain_pycs(state):
|
||||||
state.trace("couldn't find pyc: %r" % (pyc,))
|
state.trace("couldn't find pyc: %r" % (pyc,))
|
||||||
else:
|
else:
|
||||||
state.trace("removed pyc: %r" % (pyc,))
|
state.trace("removed pyc: %r" % (pyc,))
|
||||||
|
del state.pycs[:]
|
||||||
|
|
||||||
def _write_pyc(co, source_path, pyc):
|
def _write_pyc(co, source_path, pyc):
|
||||||
mtime = int(source_path.mtime())
|
mtime = int(source_path.mtime())
|
||||||
|
|
Loading…
Reference in New Issue