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:
Paul Belanger 2016-02-16 13:30:54 -05:00 committed by Monty Taylor
parent 40f6feefe4
commit 1d772e70ff
No known key found for this signature in database
GPG Key ID: 3390DB68041A12F0
2 changed files with 4 additions and 1 deletions

View File

@ -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'])

View File

@ -1,3 +1,4 @@
pbr>=0.6,!=0.7,<1.0
six>=1.5.2
extras
python-daemon>=2.0.4