ugly typo

This commit is contained in:
lars 2007-02-10 00:19:38 +00:00
parent 10f91f96b3
commit 307f42a4e9
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def isWriteable(path, force_dev_type=None):
if trustUID == 0:
return True
## is the path owned by us?
if os.stat(path)[4] == trustUID():
if os.stat(path)[4] == trustUID:
return True
## set the default groups of the caller for the check (restore them later)
savedGroups = os.getgroups()