public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/zorry:master commit in: gobs/bin/
Date: Fri, 21 Dec 2012 20:35:00 +0000 (UTC)	[thread overview]
Message-ID: <1356122089.bb404456a8fbf0d9e0308b6d674d84cd66179cd2.zorry@gentoo> (raw)

commit:     bb404456a8fbf0d9e0308b6d674d84cd66179cd2
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 21 20:34:49 2012 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Fri Dec 21 20:34:49 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=bb404456

'connectionManager' object has no attribute 'getConnection'

---
 gobs/bin/gobs_guest_jobs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gobs/bin/gobs_guest_jobs b/gobs/bin/gobs_guest_jobs
index 5494b83..9c4296f 100755
--- a/gobs/bin/gobs_guest_jobs
+++ b/gobs/bin/gobs_guest_jobs
@@ -20,7 +20,7 @@ def main():
 	gobs_settings_dict=reader.read_gobs_settings_all()
 	config_profile = gobs_settings_dict['gobs_config']
 	CM=connectionManager()
-	conn = CM.getConnection()
+	conn = CM.newConnection()
 	config_id = get_config_id(conn, config_profile)
 	add_gobs_logs(conn, "Job and build deamon started.", "info", config_id)
 	init_build_job = build_job_action(conn, config_id)
@@ -33,7 +33,7 @@ def main():
 			procces_build_jobs()
 			repeat = True
 			time.sleep(6)
-	CM.putConnection(conn)
+	conn.close
 
 if __name__ == "__main__":
   main()


             reply	other threads:[~2012-12-21 20:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21 20:35 Magnus Granberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-21 20:39 [gentoo-commits] dev/zorry:master commit in: gobs/bin/ Magnus Granberg
2012-04-29 16:38 Magnus Granberg
2012-04-29 16:05 Magnus Granberg
2012-04-29 15:58 Magnus Granberg
2012-04-29 14:43 Magnus Granberg
2012-04-28  1:14 Magnus Granberg
2012-04-28  1:04 Magnus Granberg
2012-04-27 21:17 Magnus Granberg
2012-04-27 20:59 Magnus Granberg
2012-04-27 20:30 Magnus Granberg
2012-04-27 20:28 Magnus Granberg
2012-04-27 20:28 Magnus Granberg
2011-09-28  1:17 Magnus Granberg
2011-09-26 23:50 Magnus Granberg
2011-09-26 23:48 Magnus Granberg
2011-09-13  1:06 Magnus Granberg
2011-07-30  1:07 Magnus Granberg
2011-07-29 15:31 Magnus Granberg
2011-07-10 15:31 Magnus Granberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1356122089.bb404456a8fbf0d9e0308b6d674d84cd66179cd2.zorry@gentoo \
    --to=zorry@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox