diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-04-18 18:32:40 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-04-18 18:32:40 -0500 |
| commit | f1a9711815acab7e2d9c77b86b43117f72c5c78f (patch) | |
| tree | 76c370f9c8880159e26c7cc20ef1960022aa50a4 /setuptools/command/egg_info.py | |
| parent | 413d1e9a9585a5fe170c72b46fdd3ed4c094f848 (diff) | |
| download | python-setuptools-git-f1a9711815acab7e2d9c77b86b43117f72c5c78f.tar.gz | |
Pass flags programmatically, avoiding deprecating trailing pattern flags syntax revealed in #1015.
Diffstat (limited to 'setuptools/command/egg_info.py')
| -rwxr-xr-x | setuptools/command/egg_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 1a6ea9cb..151e495b 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -112,7 +112,8 @@ def translate_pattern(glob): if not last_chunk: pat += sep - return re.compile(pat + r'\Z(?ms)') + pat += r'\Z' + return re.compile(pat, flags=re.MULTILINE|re.DOTALL) class egg_info(Command): |
