Release 0.3.1-1

This commit is contained in:
Tim Lauridsen 2009-11-07 10:41:24 +00:00
parent f9693a7a4e
commit 29eb7e3dca
4 changed files with 8 additions and 32 deletions

View File

@ -1 +1 @@
iniparse-0.3.0.tar.gz iniparse-0.3.1.tar.gz

View File

@ -1,27 +0,0 @@
Index: iniparse/ini.py
===================================================================
--- iniparse/ini.py (revision 111)
+++ iniparse/ini.py (working copy)
@@ -404,7 +404,7 @@
def make_comment(line):
- return CommentLine(line.rstrip())
+ return CommentLine(line.rstrip('\n'))
def readline_iterator(f):
@@ -578,11 +578,9 @@
if isinstance(lineobj, OptionLine):
if pending_lines:
- cur_option.extend(pending_lines)
+ cur_section.extend(pending_lines)
pending_lines = []
- if pending_empty_lines:
- optobj._compat_skip_empty_lines.add(cur_option_name)
- pending_empty_lines = False
+ pending_empty_lines = False
cur_option = LineContainer(lineobj)
cur_section.add(cur_option)
if self._optionxform:

View File

@ -1,14 +1,13 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-iniparse Name: python-iniparse
Version: 0.3.0 Version: 0.3.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Python Module for Accessing and Modifying Configuration Data in INI files Summary: Python Module for Accessing and Modifying Configuration Data in INI files
Group: Development/Libraries Group: Development/Libraries
License: MIT License: MIT
URL: http://code.google.com/p/iniparse/ URL: http://code.google.com/p/iniparse/
Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz
Patch0: iniparse.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -54,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Nov 7 2009 Tim Lauridsen <timlau@fedoraproject.org> - 0.3.1-1
- Release 0.3.1
- Fix empty-line handling bugs introduced in 0.3.0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
5d45431639e7dbb6bc6c90f025ccbc6e iniparse-0.3.0.tar.gz 94adcf1cf01e2a537491a18f2e9b7a7a iniparse-0.3.1.tar.gz