[Pkg-debile-commits] [debile-master] 67/126: update
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:56:16 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch scan-build-html
in repository debile-master.
commit 8edf81fcb5e1b5e39340d309c1e96f23a394e2da
Author: Paul Tagliamonte <tag at pault.ag>
Date: Sun Jun 2 15:14:20 2013 -0400
update
---
lucy/models/job.py | 6 +++---
lucy/server.py | 6 +++++-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/lucy/models/job.py b/lucy/models/job.py
index 5e1a004..0ca4adf 100644
--- a/lucy/models/job.py
+++ b/lucy/models/job.py
@@ -111,10 +111,10 @@ class Job(LucyObject):
@classmethod
def unfinished_jobs(cls, **kwargs):
k = kwargs.copy()
- k.update({"finished_at": None})
+ k.update({"finished_at": None,
+ "builder": {"$ne": None}})
- for x in cls.query(k):
- yield x
+ return cls.query(k)
@classmethod
def assigned_jobs(cls, builder, **kwargs):
diff --git a/lucy/server.py b/lucy/server.py
index 5584014..17df4ff 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -51,6 +51,11 @@ class LucyInterface(object):
dsc=package['dsc'],
)
+ def get_log_write_location(self, report):
+ report = Report.load(report)
+ path = os.path.join(config['pool'], report['log_path'])
+ return path
+
def get_deb_info(self, package):
"""
Get a list of .debs for the given Binary package, otherwise None.
@@ -122,7 +127,6 @@ class LucyInterface(object):
if not os.path.exists(path):
os.makedirs(path)
- path = os.path.join(path, 'log')
report['log_path'] = os.path.join(uuid_path, 'log')
return report.save()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git
More information about the Pkg-debile-commits
mailing list