[issue64] [PATCH] Fixed query with empty description/summary

Enrico Scholz at Labix Tracker tracker at labix.org
Mon Dec 26 04:08:44 PST 2005


New submission from Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>:

Fixes

| Traceback (most recent call last):
|   File "/usr/bin/smart", line 194, in ?
|     main(sys.argv[1:])
|   File "/usr/bin/smart", line 167, in main
|     exitcode = iface.run(opts.command, opts.argv)
|   File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
|     result = _command.main(self._ctrl, opts)
|   File "/usr/lib/python2.4/site-packages/smart/commands/query.py", line 283,
in main
|     if pattern.search(info.getDescription()):
| TypeError: expected string or buffer

which happens when a package has an empty %description. Ditto for summary.

----------
files: 0002-Fixed-query-with-empty-description-summary.patch
messages: 183
nosy: ensc
priority: bug
project: smart
status: unread
title: [PATCH] Fixed query with empty description/summary

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue64>
_______________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fixed-query-with-empty-description-summary.patch
Type: text/x-patch
Size: 1872 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20051226/a9232f9d/attachment-0002.bin>


More information about the Smart mailing list