~ubuntu-branches/ubuntu/maverick/pyxdg/maverick

« back to all changes in this revision

Viewing changes to debian/patches/add-IniFile-parse-docstring.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-05-27 16:12:51 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100527161251-y8fgwzi4uvw2ikgx
Tags: 0.19-1ubuntu1
* Resync on Debian
* debian/patches/gettext-support.patch, debian/patches/series:
  - Support X-GNOME-Gettext-Domain and X-Ubuntu-Gettext-Domain fields in 
    .desktop files, for dynamic translation support (corresponding to our 
     glib change).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Piotr Lewandowski <piotr.lewandowski@gmail.com>
 
2
Description: Add documentation for 'headers' argument of IniFile.parse()
 
3
Bug-Debian: http://bugs.debian.org/562952
 
4
Forwarded: yes
 
5
 
 
6
--- a/xdg/IniFile.py    2010-01-24 23:39:24.000000000 +0100
 
7
+++ b/xdg/IniFile.py    2010-02-01 14:13:33.112588929 +0100
 
8
@@ -23,6 +23,9 @@
 
9
         return cmp(self.content, other.content)
 
10
 
 
11
     def parse(self, filename, headers=None):
 
12
+        '''
 
13
+        headers -- list of headers the parser will try to select as a default header
 
14
+        '''
 
15
         # for performance reasons
 
16
         content = self.content
 
17