Commits

Mike Bayer  committed eb19214

switched generator to list comprehension

  • Participants
  • Parent commits 3780137

Comments (0)

Files changed (1)

File lib/sqlalchemy/engine/url.py

         if len(self.query):
             keys = self.query.keys()
             keys.sort()
-            s += '?' + "&".join("%s=%s" % (k, self.query[k]) for k in keys)
+            s += '?' + "&".join(["%s=%s" % (k, self.query[k]) for k in keys])
         return s
     def get_module(self):
         return getattr(__import__('sqlalchemy.databases.%s' % self.drivername).databases, self.drivername)