示例#1
0
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
示例#2
0
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())
示例#3
0
文件: cron.py 项目: Osmose/scrumbugz
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
示例#4
0
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
示例#5
0
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
示例#6
0
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())