コード例 #1
0
ファイル: html_buglist.py プロジェクト: armooo/oh-mainline
 def __init__(self, lp_url, lp_bugnr, lp_title, watch_url, watch_bugnr, watch_status, private, all_tasks):
     url = valid_lp_url(lp_url, BASEURL.BUG)
     LPBugInfo.__init__(self, lp_bugnr, url, None, None, lp_title, None, all_tasks)
     
     # add additional attributes
     self.watch_url = watch_url or "unknown"
     self.watch_bugnr = watch_bugnr
     self.watch_status = watch_status or "unknown"
     self.private = private
コード例 #2
0
ファイル: html_buglist.py プロジェクト: armooo/oh-mainline
 def __init__(self, bugnumber, url, importance, summary, private, package, date_last_update, all_tasks=False):
     url = valid_lp_url(url, BASEURL.BUG)
     if package is None:
         u = urlparse.urlsplit(url)
         m = re_url_to_project.match(u[2])
         if m:
             package = m.group(1)
     LPBugInfo.__init__(self, bugnumber, url, None, importance, summary, package, all_tasks)
     
     # add additional attributes
     self.private = private
     self.date_last_update = date_last_update
コード例 #3
0
ファイル: text_buglist.py プロジェクト: armooo/oh-mainline
 def __init__(self, nr, all_tasks):
     LPBugInfo.__init__(self, nr, None, None, None, None, None, all_tasks)
コード例 #4
0
ファイル: html_buglist.py プロジェクト: armooo/oh-mainline
 def __init__(self, nr, url, status, importance, summary, package=None, all_tasks=False):
     url = valid_lp_url(url, BASEURL.BUG)
     LPBugInfo.__init__(self, nr, url, status, importance, summary, package, all_tasks)
コード例 #5
0
ファイル: html_blueprint.py プロジェクト: armooo/oh-mainline
 def __init__(self, nr, url, summary):
     LPBugInfo.__init__(self, nr, url, None, None, summary, None, False)