socsvn commit: r289286 - soc2015/kczekirda/www

kczekirda at FreeBSD.org kczekirda at FreeBSD.org
Thu Aug 6 07:28:00 UTC 2015


Author: kczekirda
Date: Thu Aug  6 07:27:58 2015
New Revision: 289286
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289286

Log:
  first task status: new

Modified:
  soc2015/kczekirda/www/menu.py

Modified: soc2015/kczekirda/www/menu.py
==============================================================================
--- soc2015/kczekirda/www/menu.py	Thu Aug  6 06:47:28 2015	(r289285)
+++ soc2015/kczekirda/www/menu.py	Thu Aug  6 07:27:58 2015	(r289286)
@@ -99,7 +99,7 @@
                 revision = request.GET.get('revision','').strip()
                 conn = sqlite3.connect(database)
                 c = conn.cursor()
-                c.execute("INSERT INTO tasks (revision) VALUES (?)", (revision,))
+                c.execute("INSERT INTO tasks (revision,status) VALUES (?,?)", (revision,"new",))
                 conn.commit()
                 c.close()
                 return redirect('/admin')


More information about the svn-soc-all mailing list