[PATCH 10 of 52 Narval cube] [new style] No module named 'ConfigParser'

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 11:34:10 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585415371 0
#      Sat Mar 28 17:09:31 2020 +0000
# Node ID b2090d431f13f7bc13f0328718b06da0e5800eac
# Parent  9098ea9f43c630de9e664d3d46fd4e6e709567a7
[new style] No module named 'ConfigParser'

diff --git a/cubicweb_narval/narvalbot/__init__.py b/cubicweb_narval/narvalbot/__init__.py
--- a/cubicweb_narval/narvalbot/__init__.py
+++ b/cubicweb_narval/narvalbot/__init__.py
@@ -20,7 +20,7 @@
 import sys
 import os, os.path as osp
 import logging
-from ConfigParser import ConfigParser
+from configparser import ConfigParser
 import hmac
 try:
     import urllib3.contrib.pyopenssl




More information about the cubicweb-devel mailing list