Commits

jonas  committed 4404e24

Ported r2612 to 0.9-stable.

  • Participants
  • Parent commits 6e03273
  • Branches 0.9-stable
  • Tags trac-0.9.2

Comments (0)

Files changed (1)

File trac/scripts/admin.py

         # Make sure we don't insert the exact same page twice
         rows = self.db_query("SELECT text FROM wiki WHERE name=%s "
                              "ORDER BY version DESC LIMIT 1",
-                             params=(title, cursor))
+                             cursor, params=(title,))
         old = list(rows)
         if old and data == old[0][0]:
             print '  %s already up to date.' % title