projects
/
sitarba.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close logger before dir rename
[sitarba.git]
/
sitarba
diff --git
a/sitarba
b/sitarba
index ecf6f5f0b83adffe607c64a875d850b6ded5bc6d..9a7519bf515dc7d3e35a199dafec1cd60025d1bc 100755
(executable)
--- a/
sitarba
+++ b/
sitarba
@@
-532,6
+532,7
@@
class BackupManager:
self.backupFileSet(s, targetdir, excludes, since)
logfile.info("Stopped: " + datetime.datetime.now().ctime())
self.backupFileSet(s, targetdir, excludes, since)
logfile.info("Stopped: " + datetime.datetime.now().ctime())
+ fil.close()
# Rename backup directory to final name
os.rename( targetdir, os.path.join(basedir, dirname) )
# Rename backup directory to final name
os.rename( targetdir, os.path.join(basedir, dirname) )