Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sat, 22 Feb 2020 09:50:33 UTC Commit: 507f492a70e54278d405f1d6a2b9aafcacdbf6ed https://github.com/geany/infrastructure/commit/507f492a70e54278d405f1d6a2b9a...
Log Message: ----------- git2irc.py: Use ConfigParser in Python3
Modified Paths: -------------- scripts/git2irc/git2irc.py
Modified: scripts/git2irc/git2irc.py 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -45,7 +45,7 @@ '''
from cgi import FieldStorage -from configparser import SafeConfigParser +from configparser import ConfigParser from copy import deepcopy from json import dumps, loads from urllib.request import Request, urlopen @@ -74,7 +74,7 @@ def init_config(conf_filename): Reads the configuration file into a global dictionary. """ try: - conf = SafeConfigParser({ + conf = ConfigParser({ 'git': {'repositories': ''}, 'irc': {'channel': '', 'host': '', 'port': 0}, 'shortener': {'url': '', 'login': '', 'key': ''}})
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).