mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Apply Python 3 futurize transform libmodernize.fixes.fix_filter.
This commit is contained in:
committed by
Tim Abbott
parent
78e289f904
commit
be0a4f349d
@@ -1,12 +1,14 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import re
|
import re
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
import argparse
|
import argparse
|
||||||
|
from six.moves import filter
|
||||||
|
|
||||||
def get_ftype(fpath, use_shebang):
|
def get_ftype(fpath, use_shebang):
|
||||||
ext = os.path.splitext(fpath)[1]
|
ext = os.path.splitext(fpath)[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user