Win32 compatibility fix for `document' addon

* use  os.stat_result(r) instead of posix.stat_result(r)

bzr revid: x.alt@ajm.lu-20081020184550-vl2wagunsor236eb
This commit is contained in:
Xavier ALT 2008-10-20 20:45:50 +02:00
parent 86dbc91231
commit bee4463a81
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import fnmatch
import pooler
import netsvc
import posix
import os
from service import security
class abstracted_fs:
@ -491,7 +491,7 @@ class abstracted_fs:
r[7] = self.getmtime(node)
r[8] = self.getmtime(node)
r[9] = self.getmtime(node)
return posix.stat_result(r)
return os.stat_result(r)
lstat = stat
# --- Wrapper methods around os.path.*