![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
On Wed, 2005-10-26 at 12:53 -0500, Stan Glasoe wrote:
On Tuesday 25 October 2005 1:19 pm, Ken Schneider wrote:
This is the fix that was sent to me in the opensuse list. This is for SuSE 9.3 only as far as I know.
--- smart/backends/rpm/header.py +++ smart/backends/rpm/header.py @@ -246,6 +250,8 @@ # RPMSENSE_SCRIPT_PREUN | # RPMSENSE_SCRIPT_POST | # RPMSENSE_SCRIPT_POSTUN == 7744
Add the next two lines at this point in the file.
+ if type(f) != list: + f = [f]
Leave out the > > + at the beginning of the lines.
reqdict[(f[i]&7744 and PreReq or Req, intern(ni), r, vi)] = True reqargs = reqdict.keys()
Ken Schneider
Thanks Ken. I saw that too. Now to expose some ignorance on my part... What the heck do I do with this? I thought I'd use Kate to edit the file but I guess I should use another process since it works for you (whatever you did) and my method failed.
TIA for sharing the knowledge! Stan
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998