[gnome-ostree] supybot: Update plugin for new tasks layout
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] supybot: Update plugin for new tasks layout
- Date: Fri, 22 Feb 2013 08:27:36 +0000 (UTC)
commit 0025af789d1efdb446470e29d0b7228ea39e50c5
Author: Colin Walters <walters verbum org>
Date: Fri Feb 22 03:27:22 2013 -0500
supybot: Update plugin for new tasks layout
qa/supybot/GNOMEOSTree/plugin.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/qa/supybot/GNOMEOSTree/plugin.py b/qa/supybot/GNOMEOSTree/plugin.py
index 03c2707..06e396b 100644
--- a/qa/supybot/GNOMEOSTree/plugin.py
+++ b/qa/supybot/GNOMEOSTree/plugin.py
@@ -59,9 +59,8 @@ class GNOMEOSTree(callbacks.Plugin):
self._irc.queueMsg(ircmsgs.privmsg(channel, msg))
def _query_new_build(self, status=False):
- prefix = 'gnomeos-3.8'
workdir = os.path.expanduser('~/ostbuild/work/')
- current_build_path = os.path.join(workdir, 'tasks/build', prefix, 'current')
+ current_build_path = os.path.join(workdir, 'tasks/build/current')
meta_path = os.path.join(current_build_path, 'meta.json')
f = open(meta_path)
build_meta = json.load(f)
@@ -91,7 +90,7 @@ class GNOMEOSTree(callbacks.Plugin):
success_str = success and 'successful' or 'failed'
msg += " %s: %s." % (version, success_str)
- msg += " http://ostree.gnome.org/work/tasks/build/%s/%s/%s/output.txt" % (prefix, success_str,
build_meta['taskVersion'])
+ msg += " http://ostree.gnome.org/work/tasks/build/%s/%s/output.txt" % (success_str,
build_meta['taskVersion'])
if not success:
msg = ircutils.mircColor(msg, fg='red')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]