Skip to content
Permalink
Browse files

mark patches as such when attaching them in Bugzilla

When a Bugzilla attachment is flagged as a patch, Bugzilla
enables some extra UI features like diff display.
  • Loading branch information...
danc86 committed Jun 11, 2015
1 parent 3fef009 commit e2a682eeb889555d1181ca8db3e3b8c9857d52d9
Showing with 2 additions and 1 deletion.
  1. +2 −1 hotness/bz.py
@@ -122,7 +122,8 @@ def follow_up(self, text, bug):

def attach_patch(self, filename, description, bug):
self.log.debug("Attaching patch to bug %r" % bug.bug_id)
self.bugzilla.attachfile(bug.bug_id, filename, description)
self.bugzilla.attachfile(bug.bug_id, filename, description,
is_patch=True)
self.log.info("Attached patch to bug: %s" % bug.weburl)

def exact_bug(self, **package):

0 comments on commit e2a682e

Please sign in to comment.
You can’t perform that action at this time.