1 |
commit: 1c0c61bc2b4ed4d53612d5effb36c8483fea1bca |
2 |
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 22:09:14 2015 +0000 |
4 |
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 22:09:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=1c0c61bc |
7 |
|
8 |
gentoolkit: Fix query.py to properly work with sets (Bug 546726) |
9 |
|
10 |
pym/gentoolkit/query.py | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/pym/gentoolkit/query.py b/pym/gentoolkit/query.py |
14 |
index c0ce977..df6e2fd 100644 |
15 |
--- a/pym/gentoolkit/query.py |
16 |
+++ b/pym/gentoolkit/query.py |
17 |
@@ -362,7 +362,7 @@ class Query(CPV): |
18 |
|
19 |
q = self.query |
20 |
for atom in atoms: |
21 |
- self.query = atom |
22 |
+ self.query = str(atom) |
23 |
result.extend(self._do_simple_lookup(show_progress=False)) |
24 |
self.query = q |