<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -64,7 +64,8 @@ def build_work(b):
     else:
       b.output = &quot;%s file not found, i don't know how to build&quot; % join(CIPY_FOLDER, &quot;build&quot;);
     b.finished = True;
-    finished_jobs.put(b)
+    #finished_jobs.put(b)
+    b.save()
     # hooks
     if ret == 0:
       exec_ci_cmd(&quot;build_pass&quot;);
@@ -74,7 +75,7 @@ def build_work(b):
   
 @route('/build')
 def build(web):
-  save_pending_jobs();
+  #save_pending_jobs();
 
   #get revision
   data, ret = cmd(scm_cmds[repo_type]['rev'], repo_path);
@@ -88,7 +89,7 @@ def build(web):
 
 @route('/')
 def index(web):
-  save_pending_jobs();
+  #save_pending_jobs();
   builds = find(Build).order_by(Build.id.desc()).limit(10).all();
   template(&quot;index.html&quot;, { 'builds': builds, 'project_path': repo_path })
   </diff>
      <filename>run.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b70a1127219bbf4ed8619e41bf5c72860d483f3b</id>
    </parent>
  </parents>
  <author>
    <name>root</name>
    <email>root@ubuntu.(none)</email>
  </author>
  <url>http://github.com/javisantana/cipy/commit/3e6e49dc33a7fe35f82e842b4ae070d96816e756</url>
  <id>3e6e49dc33a7fe35f82e842b4ae070d96816e756</id>
  <committed-date>2009-10-20T14:33:10-07:00</committed-date>
  <authored-date>2009-10-20T14:33:10-07:00</authored-date>
  <message>aa</message>
  <tree>098d6f59eb70f194555d097d1c1bde32cd96cfa4</tree>
  <committer>
    <name>root</name>
    <email>root@ubuntu.(none)</email>
  </committer>
</commit>
