mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:39:43 +00:00
clean tmp
This commit is contained in:
@@ -640,12 +640,14 @@ class Installer:
|
||||
needs to be installed
|
||||
"""
|
||||
# check file content
|
||||
tmp = None
|
||||
if content:
|
||||
tmp = utils.write_to_tmpfile(content)
|
||||
src = tmp
|
||||
ret = utils.fastdiff(src, dst)
|
||||
if ret:
|
||||
self.log.dbg('content differ')
|
||||
utils.removepath(tmp)
|
||||
return ret
|
||||
|
||||
def _show_diff_before_write(self, src, dst, content=None):
|
||||
|
||||
Reference in New Issue
Block a user