ugly typo

This commit is contained in:
lars 2007-02-10 00:19:38 +00:00
parent 10f91f96b3
commit 307f42a4e9

View file

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