You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/01/22 08:18:15 UTC
[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]:
changed import of configparser
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
new 715344b [DATALAB-2091]: changed import of configparser
715344b is described below
commit 715344b6f48474f1c9011b597d0ff6d423775cf4
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Jan 22 10:18:01 2021 +0200
[DATALAB-2091]: changed import of configparser
---
infrastructure-provisioning/src/ssn/scripts/configure_conf_file.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_conf_file.py b/infrastructure-provisioning/src/ssn/scripts/configure_conf_file.py
index d72c8f3..72c9ea2 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_conf_file.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_conf_file.py
@@ -21,7 +21,7 @@
# ******************************************************************************
-import ConfigParser
+import configparser
import argparse
import json
import sys
@@ -49,7 +49,7 @@ def modify_conf_file():
with open('/tmp/datalab.ini.modified', 'w') as conf_file_modified:
conf_file_modified.writelines(conf_list)
- config = ConfigParser.RawConfigParser()
+ config = configparser.RawConfigParser()
config.read('/tmp/datalab.ini.modified')
for section in config.sections():
options = config.options(section)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org