Switch to six for configparser
I noticed fedora doesn't yet ship python3-gear so this is the main reason to add six support. Change-Id: I3d8d37870a0ab865dc0a32e123bfd16e91fa5b72 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
40f6feefe4
commit
1d772e70ff
|
@ -13,7 +13,6 @@
|
|||
# under the License.
|
||||
|
||||
import argparse
|
||||
import ConfigParser
|
||||
import daemon
|
||||
import extras
|
||||
import gear
|
||||
|
@ -24,6 +23,9 @@ import pbr.version
|
|||
import signal
|
||||
import sys
|
||||
|
||||
from six.moves import configparser as ConfigParser
|
||||
|
||||
|
||||
pid_file_module = extras.try_imports(['daemon.pidlockfile', 'daemon.pidfile'])
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
pbr>=0.6,!=0.7,<1.0
|
||||
six>=1.5.2
|
||||
extras
|
||||
python-daemon>=2.0.4
|
||||
|
|
Loading…
Reference in New Issue