merge
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 02 Dec 2008 19:25:59 +0100
changeset 172 bed4bc2e0a2f
parent 171 c7d6a465b951 (current diff)
parent 170 455ff18ef28e (diff)
child 173 a4a9e1a7e40f
merge
--- a/rset.py	Tue Dec 02 19:25:38 2008 +0100
+++ b/rset.py	Tue Dec 02 19:25:59 2008 +0100
@@ -59,10 +59,10 @@
     
     def __repr__(self):
         if not self.rows:
-            return '<empty resultset for %s>' % self.rql
+            return '<empty resultset for %r>' % self.rql
         if not self.description:
-            return '<resultset %s: %s>' % (self.rql, '\n'.join(str(r) for r in self.rows))
-        return '<resultset %s: %s>' % (self.rql,
+            return '<resultset %r: %s>' % (self.rql, '\n'.join(str(r) for r in self.rows))
+        return '<resultset %r: %s>' % (self.rql,
                                        '\n'.join('%s (%s)' % (r, d)
                                                  for r, d in zip(self.rows, self.description)))
 
--- a/skeleton/__pkginfo__.py.tmpl	Tue Dec 02 19:25:38 2008 +0100
+++ b/skeleton/__pkginfo__.py.tmpl	Tue Dec 02 19:25:59 2008 +0100
@@ -32,7 +32,7 @@
             if fname[0] != '.' and not fname.endswith('.pyc')
             and not fname.endswith('~')]
 
-
+from glob import glob
 try:
     data_files = [
         # common files