diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-09 00:37:46 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-09 00:37:46 +0100 |
commit | 0ae315a4d1d154122208883bd006b2b882cb5113 (patch) | |
tree | 19b7422217ae01e32a9072a0aecf10bbf04f45f1 /gitlab/config.py | |
parent | 689ecae70585e79c281224162a0ba2ab3921242a (diff) | |
download | gitlab-0ae315a4d1d154122208883bd006b2b882cb5113.tar.gz |
unit tests for config parser
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index c9dc5aa..4d0abb8 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -15,12 +15,9 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -try: - import ConfigParser as configparser -except ImportError: - import configparser import os +from six.moves import configparser _DEFAULT_FILES = [ '/etc/python-gitlab.cfg', |