Re: Something broke in genpkgmetadata.py?

"David C. Rankin" <[email protected]> Thu, 11 Nov 2010 23:50:44 -0600
Newsgroups gmane.linux.rpm.metadata
Organization Rankin Law Firm, PLLC
Message-ID <[email protected]>
On 11/11/2010 11:27 PM, David C. Rankin wrote:
> Guys,
> 
> 	I'm using yum-createrepo 0.9.8-3 on Arch Linux and suddenly my createrepo
> updates are failing with the following error:
> 
> 23:22 nirvana:/home/backup/rpms> sudo createrepo --update -d openSUSE_11.3/
>   File "/usr/share/createrepo/genpkgmetadata.py", line 189
>     print thing
>               ^
> SyntaxError: invalid syntax
> 
> 	Nothing with createrepo has changed, could this be a python/python2 bug? I have
> both the following installed:
> 
> python 3.1.2-2
> python2 2.7-3
> 
> 

This bug also effect repoview:

    Updating/Creating repoview index and HTML pages...
  File "/usr/bin/repoview", line 384
    os.mkdir(self.outdir, 0755)
                             ^
SyntaxError: invalid token

    Any help or ideas will be appreciated. Thanks.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com