| Index: third_party/logilab/astroid/brain/py2mechanize.py
|
| diff --git a/third_party/logilab/astroid/brain/py2mechanize.py b/third_party/logilab/astroid/brain/py2mechanize.py
|
| deleted file mode 100644
|
| index 1e0b102d88330ea4836d836e65eb6f51d267bdd4..0000000000000000000000000000000000000000
|
| --- a/third_party/logilab/astroid/brain/py2mechanize.py
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -from astroid import MANAGER
|
| -from astroid.builder import AstroidBuilder
|
| -
|
| -def mechanize_transform(module):
|
| - fake = AstroidBuilder(MANAGER).string_build('''
|
| -
|
| -class Browser(object):
|
| - def open(self, url, data=None, timeout=None):
|
| - return None
|
| - def open_novisit(self, url, data=None, timeout=None):
|
| - return None
|
| - def open_local_file(self, filename):
|
| - return None
|
| -
|
| -''')
|
| - module.locals['Browser'] = fake.locals['Browser']
|
| -
|
| -import py2stdlib
|
| -py2stdlib.MODULE_TRANSFORMS['mechanize'] = mechanize_transform
|
| -
|
|
|