[lit] Add "from .main import main" back into lit/__init__.py

A refactoring commit (cf252240) removed this line. Removing it broke installing
lit with pip and setup.py.

This adds the line back in so that we can install lit again.

For an example of how this appeared, see:

http://green.lab.llvm.org/green/job/LNT_Tests/5853/

File "/Users/buildslave/jenkins/...s/__init__.py", line 2453, in resolve
    raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'main'
This commit is contained in:
Jessica Paquette 2019-12-19 15:59:11 -08:00
parent 93ac81cc9d
commit dcaaede1e5
1 changed files with 1 additions and 0 deletions

View File

@ -6,3 +6,4 @@ __versioninfo__ = (0, 10, 0)
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
__all__ = []
from .main import main