summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 18:01:43 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 18:01:43 +0000
commit17eb99eea718191b619277754bf15e6a7554d916 (patch)
treeaa39d3583025b4a49f7492245981cd519c6855e9 /src/config.py
parent43654505fb2efa3994081e68613e5bd8dd033660 (diff)
downloadpoezio-17eb99eea718191b619277754bf15e6a7554d916.tar.gz
poezio-17eb99eea718191b619277754bf15e6a7554d916.tar.bz2
poezio-17eb99eea718191b619277754bf15e6a7554d916.tar.xz
poezio-17eb99eea718191b619277754bf15e6a7554d916.zip
python 3 only. Fixes all EncodingError bugs :))))
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.py b/src/config.py
index 73674711..3756ef56 100644
--- a/src/config.py
+++ b/src/config.py
@@ -1,5 +1,3 @@
-# -*- coding:utf-8 -*-
-#
# Copyright 2009 chickenzilla
# Copyright 2010 Le Coz Florent <louizatakk@fedoraproject.org>
#
@@ -22,7 +20,7 @@ Defines the global config instance, used to get or set (and save) values
from/to the config file
"""
-from ConfigParser import RawConfigParser, NoOptionError
+from configparser import RawConfigParser, NoOptionError
from os import environ, makedirs, path
from shutil import copy2
try: