Call the bogus lchown() once so that the warning is seen asap.
authorZac Medico <zmedico@gentoo.org>
Wed, 7 Jun 2006 12:49:22 +0000 (12:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 7 Jun 2006 12:49:22 +0000 (12:49 -0000)
svn path=/main/trunk/; revision=3467

pym/portage_data.py

index bd556b5190bf73ec529d625d875f59650493566d..1f2e67e57403e2dfe3bcbd1794a2fce1eb9e310c 100644 (file)
@@ -38,6 +38,7 @@ if not lchown:
                        def lchown(*pos_args, **key_args):
                                writemsg(red("!!!") + " It seems that os.lchown does not" + \
                                        " exist.  Please rebuild python.\n", noiselevel=-1)
+                       lchown()
 
 os.environ["USERLAND"]=userland