projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa1f71
)
root_uid is a string, use int() for comparing it with uid.
author
Emanuele Giaquinta
<exg@gentoo.org>
Tue, 7 Mar 2006 14:24:07 +0000
(14:24 -0000)
committer
Emanuele Giaquinta
<exg@gentoo.org>
Tue, 7 Mar 2006 14:24:07 +0000
(14:24 -0000)
svn path=/main/branches/prefix/; revision=2822
pym/portage_data.py
patch
|
blob
|
history
diff --git
a/pym/portage_data.py
b/pym/portage_data.py
index ea8eacf468a439a156afb9b65d5b7963cee6a248..269c700330566b185a85afa3bffbfb7d5e053532 100644
(file)
--- a/
pym/portage_data.py
+++ b/
pym/portage_data.py
@@
-49,7
+49,7
@@
uid=os.getuid()
wheelgid=portage_const.wheelgid
wheelgroup=portage_const.wheelgroup
-if uid==0 or uid==
portage_const.rootuid
:
+if uid==0 or uid==
int(portage_const.rootuid)
:
secpass=2
try:
wheelgid=grp.getgrnam(wheelgroup)[2]