Changeset 45369 in webkit


Ignore:
Timestamp:
Jun 30, 2009 2:33:54 AM (15 years ago)
Author:
eric@webkit.org
Message:

2009-06-30 Eric Seidel <eric@webkit.org>

Reviewed by Maciej Stachowiak.

Include a built copy of BeautifulSoup 3.1.0.1 so that
bugzilla-tool users do not need to install it manually.
https://bugs.webkit.org/show_bug.cgi?id=26833

BeautifulSoup is BSD-licensed (thus WebKit compatible) and available from:
http://www.crummy.com/software/BeautifulSoup

  • Scripts/bugzilla-tool: fixed a typo in a log message.
  • Scripts/modules/BeautifulSoup.py: Added.
  • Scripts/modules/bugzilla.py:
Location:
trunk/WebKitTools
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r45368 r45369  
     12009-06-30  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Include a built copy of BeautifulSoup 3.1.0.1 so that
     6        bugzilla-tool users do not need to install it manually.
     7        https://bugs.webkit.org/show_bug.cgi?id=26833
     8
     9        BeautifulSoup is BSD-licensed (thus WebKit compatible) and available from:
     10        http://www.crummy.com/software/BeautifulSoup
     11
     12        * Scripts/bugzilla-tool: fixed a typo in a log message.
     13        * Scripts/modules/BeautifulSoup.py: Added.
     14        * Scripts/modules/bugzilla.py:
     15
    1162009-06-30  Eric Seidel  <eric@webkit.org>
    217
  • trunk/WebKitTools/Scripts/bugzilla-tool

    r45368 r45369  
    262262        comment_text = LandPatchesFromBugs.build_and_commit(tool.scm(), options)
    263263        if bug_id:
    264             log("Updating bug %s", bug_id)
     264            log("Updating bug %s" % bug_id)
    265265            if options.close:
    266266                tool.bugs.close_bug_as_fixed(bug_id, comment_text)
  • trunk/WebKitTools/Scripts/modules/bugzilla.py

    r45250 r45369  
    3434import urllib2
    3535
     36# WebKit includes a built copy of BeautifulSoup in Scripts/modules
     37# so this import should always succeed.
     38from .BeautifulSoup import BeautifulSoup
     39
    3640try:
    37     from BeautifulSoup import BeautifulSoup
    3841    from mechanize import Browser
    3942except ImportError, e:
    4043    print """
    41 BeautifulSoup and mechanize are required.
     44mechanize is required.
    4245
    4346To install:
    44 sudo easy_install BeautifulSoup mechanize
     47sudo easy_install mechanize
    4548
    4649Or from the web:
    47 http://www.crummy.com/software/BeautifulSoup/
    4850http://wwwsearch.sourceforge.net/mechanize/
    4951"""
Note: See TracChangeset for help on using the changeset viewer.