diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-10-30 19:52:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-10-30 19:54:33 +0100 |
commit | 9429f595724ab30959ec5995eb72c97162822142 (patch) | |
tree | 93acabc7dd09862c951655850bee0363f4bae81e /ciabot | |
parent | ade270cd79a7fd4d86cc28158d1a897fce3003d9 (diff) |
remove print statement that breaks with unicode chars
Diffstat (limited to 'ciabot')
-rw-r--r-- | ciabot/libreoffice-bugzilla2.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ciabot/libreoffice-bugzilla2.py b/ciabot/libreoffice-bugzilla2.py index 39c93db..31f9426 100644 --- a/ciabot/libreoffice-bugzilla2.py +++ b/ciabot/libreoffice-bugzilla2.py @@ -55,8 +55,8 @@ class FreedesktopBZ: print(bug) old_whiteboard = bug.getwhiteboard() - m = re.search(new_version, old_whiteboard) - if m is not None and len(m.groups()) > 0: + m = re.findall(new_version, old_whiteboard) + if m is None or len(m) == 0: new_whiteboard = old_whiteboard + " target:" + new_version bug.setwhiteboard(new_whiteboard) @@ -80,7 +80,6 @@ http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.""" %(commit.author, branch, cgiturl, commit.summary, new_version) - print(comment_msg) bug.addcomment(comment_msg) |