Skip to content

Commit bdacecf

Browse files
authored
Merge pull request #172 from DavidMuller/patch-1
Make python -m modernize return correct exit code
2 parents 63c0638 + 1fb975e commit bdacecf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modernize.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
from __future__ import absolute_import
22

3+
import sys
4+
35
from libmodernize.main import main
4-
main()
6+
7+
sys.exit(main())

0 commit comments

Comments
 (0)