* src/DbManager.py: I was having some weird issues with the archive
file giving errors about "still in use". With these changes, I haven't had it happen... yet. Can't say for certain if these changes fixed it, or if there is another cause. 2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu> svn: r9528
This commit is contained in:
parent
2f63b477cb
commit
3a10b36866
@ -1,3 +1,9 @@
|
|||||||
|
2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
|
* src/DbManager.py: I was having some weird issues with the archive
|
||||||
|
file giving errors about "still in use". With these changes, I haven't
|
||||||
|
had it happen... yet. Can't say for certain if these changes fixed it,
|
||||||
|
or if there is another cause.
|
||||||
|
|
||||||
2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
* src/plugins/CalculateEstimatedDates.py: Give good defaults for Filter
|
* src/plugins/CalculateEstimatedDates.py: Give good defaults for Filter
|
||||||
and Enumerated Lists
|
and Enumerated Lists
|
||||||
|
@ -33,6 +33,7 @@ __revision__ = "$Revision: 8197 $"
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
import copy
|
||||||
import subprocess
|
import subprocess
|
||||||
from gettext import gettext as _
|
from gettext import gettext as _
|
||||||
|
|
||||||
@ -800,7 +801,7 @@ def find_revisions(name):
|
|||||||
for line in proc.stdout:
|
for line in proc.stdout:
|
||||||
match = rev.match(line)
|
match = rev.match(line)
|
||||||
if match:
|
if match:
|
||||||
rev_str = match.groups()[0]
|
rev_str = copy.copy(match.groups()[0])
|
||||||
continue
|
continue
|
||||||
match = date.match(line)
|
match = date.match(line)
|
||||||
if match:
|
if match:
|
||||||
@ -813,6 +814,8 @@ def find_revisions(name):
|
|||||||
get_next = False
|
get_next = False
|
||||||
com_str = line.strip()
|
com_str = line.strip()
|
||||||
revlist.append((rev_str, date_str, com_str))
|
revlist.append((rev_str, date_str, com_str))
|
||||||
|
proc.stdout.close()
|
||||||
|
del proc
|
||||||
return revlist
|
return revlist
|
||||||
|
|
||||||
def find_locker_name(dirpath):
|
def find_locker_name(dirpath):
|
||||||
@ -893,8 +896,8 @@ def check_in(dbase, filename, callback, cursor_func = None):
|
|||||||
|
|
||||||
proc = subprocess.Popen(cmd, stderr = subprocess.PIPE )
|
proc = subprocess.Popen(cmd, stderr = subprocess.PIPE )
|
||||||
message = "\n".join(proc.stderr.readlines())
|
message = "\n".join(proc.stderr.readlines())
|
||||||
proc.stderr.close()
|
|
||||||
status = proc.wait()
|
status = proc.wait()
|
||||||
|
proc.stderr.close()
|
||||||
del proc
|
del proc
|
||||||
|
|
||||||
if status != 0:
|
if status != 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user