mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Apply Python 3 futurize transform libmodernize.fixes.fix_imports_six
Refer to #256
This commit is contained in:
committed by
Tim Abbott
parent
def027a1ec
commit
7b8cb105bf
@@ -2,7 +2,7 @@
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
import ConfigParser
|
||||
import six.moves.configparser
|
||||
import re
|
||||
|
||||
force = False
|
||||
@@ -12,7 +12,7 @@ if len(extra_args) and extra_args[0] in ('-f', '--force'):
|
||||
force = True
|
||||
extra_args = extra_args[1:]
|
||||
|
||||
config = ConfigParser.RawConfigParser()
|
||||
config = six.moves.configparser.RawConfigParser()
|
||||
config.read("/etc/zulip/zulip.conf")
|
||||
|
||||
puppet_config = """
|
||||
|
||||
Reference in New Issue
Block a user