[Piuparts-commits] [piuparts] 01/01: fixed typo on the Package class constructor (UserDict initialization)

Holger Levsen holger at moszumanska.debian.org
Sun May 3 12:47:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch python3
in repository piuparts.

commit 57ba1b76f8f5aea36cdba807a1d366c10fbd5186
Author: Börni <boerni at gmail.com>
Date:   Fri May 1 16:44:40 2015 +0200

    fixed typo on the Package class constructor (UserDict initialization)
---
 piupartslib/packagesdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index dd0cea9..0e30a11 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -58,7 +58,7 @@ def rfc822_like_header_parse(input):
 class Package(six.moves.UserDict):
 
     def __init__(self, headers):
-        six.moves.__init__(self)
+        six.moves.UserDict.__init__(self)
         self.headers = headers
         for header in headers:
             name, value = header.split(":", 1)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list