testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1780 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -8388,6 +8388,7 @@ class PackageMaskingParser:
|
||||
try:
|
||||
f = open(mtimefile,"r")
|
||||
mtime = float(f.readline().strip())
|
||||
f.close()
|
||||
# compare with current mtime
|
||||
try:
|
||||
currmtime = os.path.getmtime(maskfile)
|
||||
|
||||
@@ -1287,6 +1287,7 @@ def spawnFunction(f, *args, **kwds):
|
||||
f = os.fdopen(pread, 'rb')
|
||||
status, result = pickle.load(f)
|
||||
os.waitpid(pid, 0)
|
||||
f.close()
|
||||
if status == 0:
|
||||
return result
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user