diff --git a/rcfile.py b/rcfile.py index 6452f39..bee1157 100644 --- a/rcfile.py +++ b/rcfile.py @@ -4,11 +4,13 @@ from __future__ import unicode_literals, print_function from os.path import join, expanduser import os +import logging __version__ = "0.1.1" __author__ = "Johan Bloemberg" __license__ = "MIT" +log = logging.getLogger(__name__) try: # Python 2 import ConfigParser @@ -48,7 +50,8 @@ def get_config(appname, config_file): ] config = ConfigParser.ConfigParser() - config.read(files) + read = config.read(files) + log.debug('files read: %s' % read) if not config.has_section(appname): return {} diff --git a/setup.py b/setup.py index fbbc0b0..afffc76 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def read(fname): setup( name='rcfile', - version="0.1.1", + version="0.1.2", description='Configuration file loader', long_description=read("README.rst"), author='Johan Bloemberg',