Changeset 56957 in webkit


Ignore:
Timestamp:
Apr 1, 2010 6:14:36 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-01 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Print an error message for readline bogosity in MacPorts
https://bugs.webkit.org/show_bug.cgi?id=36979

  • Scripts/webkitpy/common/system/user.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56951 r56957  
     12010-04-01  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Print an error message for readline bogosity in MacPorts
     6        https://bugs.webkit.org/show_bug.cgi?id=36979
     7
     8        * Scripts/webkitpy/common/system/user.py:
     9
    1102010-04-01  Adam Barth  <abarth@webkit.org>
    211
  • trunk/WebKitTools/Scripts/webkitpy/common/system/user.py

    r56518 r56957  
    2828
    2929import os
    30 import readline
    3130import shlex
    3231import subprocess
    3332import webbrowser
     33
     34try:
     35    import readline
     36except ImportError:
     37    print "Unable to import readline.  If you're using MacPorts, try running:"
     38    print "  sudo port install py25-readline"
     39    exit(0)
     40
    3441
    3542class User(object):
Note: See TracChangeset for help on using the changeset viewer.