# HG changeset patch # User Radek Brich # Date 1376652229 -7200 # Node ID 776ba4914dfc270ea63fc8ff3cf9ec7a3e09bfd8 # Parent bb7742f924d77d0de3885800ce8fd9e3506fcdbf Update ConfigParser: rename 'type_' back to 'type'. Rename project in setup.py to make RPM package names more standard. diff -r bb7742f924d7 -r 776ba4914dfc pycolib/configparser.py --- a/pycolib/configparser.py Thu Jul 11 15:20:35 2013 +0200 +++ b/pycolib/configparser.py Fri Aug 16 13:23:49 2013 +0200 @@ -10,9 +10,9 @@ self.options = {} self.values = {} - def add_option(self, name, type_=str, default=None): + def add_option(self, name, type=str, default=None): """Register option name, type and default value.""" - self.options[name] = {'type':type_, 'default':default} + self.options[name] = {'type':type, 'default':default} self.values[name] = default def load(self, fname): diff -r bb7742f924d7 -r 776ba4914dfc setup.py --- a/setup.py Thu Jul 11 15:20:35 2013 +0200 +++ b/setup.py Fri Aug 16 13:23:49 2013 +0200 @@ -3,7 +3,7 @@ from distutils.core import setup setup( - name='pycolib', + name='python3-pycolib', version='0.0.1', description='Library of small auxiliary modules', author='Radek Brich',