![](https://seccdn.libravatar.org/avatar/6167b5e19c9699446f8122d902491a63.jpg?s=120&d=mm&r=g)
On Wednesday 26 October 2005 4:03 pm, Ken Schneider wrote:
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
That was what I did but I got even more errors. Uninstalled smart, grabbed newer version 0.40-8.guru.suse93 and do not have the problem anymore. Works very well so far. Thanks, Stan