ugly typo
This commit is contained in:
parent
10f91f96b3
commit
307f42a4e9
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue