pkgs = fadOpen(fn, dbi->dbi_mode, dbi->dbi_perms);
if (Ferror(pkgs)) {
- rc = EFAULT;
- rpmError(RPMERR_DBOPEN, _("failed to open %s: %s\n"), urlfn,
- Fstrerror(pkgs));
+ rc = errno; /* XXX check errno validity */
goto exit;
}
l.l_type = (dbi->dbi_mode & O_RDWR) ? F_WRLCK : F_RDLCK;
if (Fcntl(pkgs, F_SETLK, (void *) &l)) {
- rc = EFAULT;
+ rc = errno; /* XXX check errno validity */
rpmError(RPMERR_FLOCK, _("cannot get %s lock on database"),
((dbi->dbi_mode & O_RDWR) ? _("exclusive") : _("shared")));
goto exit;
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-07-27 15:59+0100\n"
"Last-Translator: Milan Kerslager <milan.kerslager@spsselib.hiedu.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "otevírám db soubor %s mode 0x%x\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr "nemohu otevøít %s: %s\n"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "nemohu zamknout databázi %s"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "výhradní"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "sdílený"
msgid "url port must be a number\n"
msgstr "url port musí být èíslo\n"
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr "nemohu otevøít %s: %s\n"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-03-07 05:17+01:00\n"
"Last-Translator: K. Christiansen <kenneth@gnu.org>\n"
"Language-Team: Danish/Dansk <dansk@klid.dk>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm 2.5.2\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 1998-08-03 18:02+02:00\n"
"Last-Translator: Karl Eichwalder <ke@SuSE.DE>\n"
"Language-Team: German <de@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "Datenbank aus der vorhandenen neu erstellen"
-# , c-format
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "Öffnen von %s fehlgeschlagen: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "kann %s lock für die Datenbank nicht bekommen"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "exklusiv"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "geteilt"
msgstr "Fehler: der FTP-Port muss eine Zahl sein\n"
# , c-format
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "Öffnen von %s fehlgeschlagen: %s"
+
+# , c-format
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"Last-Translator: Raimo Koski <rkoski@pp.weppi.fi>\n"
"Language-Team: Finnish <linux@sot.com>\n"
"Content-Type: text/plain; charset=\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "kokoa tietokanta uudelleen vanhasta tietokannasta"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "en voinut avata %s: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "en voi saada %s lukitusta tietokantaan"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "poissulkevaa"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "jaettua"
msgid "url port must be a number\n"
msgstr "virhe: ftpport pitää olla luku\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "en voinut avata %s: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
-msgstr "POT-Creation-Date: 2000-07-29 13:25-0400\n"
+msgstr "POT-Creation-Date: 2000-07-29 16:29-0400\n"
#: build.c:25 lib/rpminstall.c:451
#, c-format
msgid "opening db file %s mode 0x%x\n"
msgstr "impossible d'ouvrir: %s\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "impossible d'ouvrir: %s\n"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, fuzzy, c-format
msgid "cannot get %s lock on database"
msgstr "aucun package n'a été spécifié pour la désinstallation"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "impossible d'ouvrir: %s\n"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm 1.0\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-06-16 02:20+0000\n"
"Last-Translator: Richard Allen <ra@hp.is>\n"
"Language-Team: is <kde-isl@mmedia.is>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm-3.0.4\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 1999-12-01 22:49 +JST\n"
"Last-Translator: Kanda Mitsuru <kanda@nn.iij4u.or.jp>\n"
"Language-Team: JRPM <jrpm@linux.or.jp>\n"
# build root [BuildRoot]
# net share [¥Í¥Ã¥È¶¦Í]
# reloate [ºÆÇÛÃÖ/°ÜÆ°¤¹¤ë]
-# $Id: ja.po,v 1.103 2000/07/29 17:30:19 jbj Exp $
+# $Id: ja.po,v 1.104 2000/07/29 20:31:57 jbj Exp $
#: rpm.c:178 rpmqv.c:257
#, c-format
msgid "rpm: %s\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¥â¡¼¥É 0x%x ¤Î¥ª¡¼¥×¥ó (%s)\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "%s ¤Î¥ª¡¼¥×¥ó¤Ë¼ºÇÔ: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î %s ¤ò¥í¥Ã¥¯¤Ç¤¤Þ¤»¤ó"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "½ü³°"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "¶¦Í"
msgid "url port must be a number\n"
msgstr "url ¥Ý¡¼¥È¤Ï¿ô»ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "%s ¤Î¥ª¡¼¥×¥ó¤Ë¼ºÇÔ: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-06-22 21:59+02:00\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian <no@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm-3.0.2\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 1999-05-25 17:00+0100\n"
"Last-Translator: Pawe³ Dziekoñski <pdziekonski@mml.ch.pwr.wroc.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "otwiernie bazê danych w trybie 0x%x w %s\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "nie mo¿na otworzyæ %s: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "utworzenie blokady %s na bazie danych nie jest mo¿liwe"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr "port musi byæ liczb±\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "nie mo¿na otworzyæ %s: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
# Revised by Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 1998.
#
msgid ""
-msgstr "POT-Creation-Date: 2000-07-29 13:25-0400\n"
+msgstr "POT-Creation-Date: 2000-07-29 16:29-0400\n"
#: build.c:25 lib/rpminstall.c:451
#, c-format
msgid "opening db file %s mode 0x%x\n"
msgstr "reconstrua o banco de dados a partir de um banco de dados existente"
-# , c-format
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "Não consegui abrir: %s\n"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, fuzzy, c-format
msgid "cannot get %s lock on database"
msgstr "não foi passado pacote para desinstalação"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgstr ""
# , c-format
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "Não consegui abrir: %s\n"
+
+# , c-format
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 1999-04-10 12:00+EST\n"
"Last-Translator: Cristian Gafton <gafton@redhat.com>\n"
"Language-Team: Romanian <ro@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "ÏÔËÒÙ×ÁÀ ÂÁÚÕ × ÒÅÖÉÍÅ 0x%x × %s\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ %s: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "ÎÅ ÍÏÇÕ ÐÏÌÕÞÉÔØ %s ÄÏÓÔÕÐ Ë ÂÁÚÅ ÄÁÎÎÙÈ"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "ÉÓËÌÀÞÉÔÅÌØÎÙÊ"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "ÒÁÚÄÅÌÑÅÍÙÊ"
msgid "url port must be a number\n"
msgstr "url port ÄÏÌÖÅÎ ÂÙÔØ ÞÉÓÌÏÍ\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ %s: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: rpm 2.93\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 1999-04-08 21:37+02:00\n"
"Last-Translator: Stanislav Meduna <stano@eunet.sk>\n"
"Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "otvára sa databáza s právami 0x%x v %s\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "nepodarilo sa otvori» %s: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "nie je mo¾né získa» %s zámok pre databázu"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "výhradný"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "zdieµaný"
msgid "url port must be a number\n"
msgstr "url port musí by» èíslo\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "nepodarilo sa otvori» %s: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
# -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr.
# Copyright (C) 2000 Free Software Foundation, Inc.
# Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2000.
-# $Id: sl.po,v 1.88 2000/07/29 17:30:21 jbj Exp $
+# $Id: sl.po,v 1.89 2000/07/29 20:31:58 jbj Exp $
#
msgid ""
msgstr ""
"Project-Id-Version: rpm 3.0.4\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-02-17 22:25+01:00\n"
"Last-Translator: Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
"Language-Team: Slovenian <sl@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "odpiramo datoteko z naèinom 0x%x v %s\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr "neuspe¹no odpiranje %s: %s\n"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "datoteke ni mo¾no %s zakleniti"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "izkljuèujoèe"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "deljeno"
msgid "url port must be a number\n"
msgstr "vrata URL morajo biti ¹tevilka\n"
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr "neuspe¹no odpiranje %s: %s\n"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"Content-Type: text/plain; charset=\n"
"Date: 1998-05-02 21:41:47-0400\n"
"From: Erik Troan <ewt@lacrosse.redhat.com>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "rekreiraj bazu podataka iz postojeæe baze"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "neuspelo otvaranje %s: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "ne mogu da dobijem %s zakljuèavanje baze podataka"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "ekskluzivno"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "deljeno"
msgid "url port must be a number\n"
msgstr "gre¹ka: FTP port mora biti broj\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "neuspelo otvaranje %s: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: 2000-07-24 22:14+0200\n"
"Last-Translator: Göran Uddeborg <göran@uddeborg.pp.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "öppnar db-fil %s rättighet 0x%x\n"
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr "kunde inte öppna %s: %s\n"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "kan inte få %s lås på databas"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "uteslutande"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "delat"
msgid "url port must be a number\n"
msgstr "url-port måste vara ett tal\n"
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr "kunde inte öppna %s: %s\n"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr "mevcut veritabanýný kullanýlarak veritabýnýný yeniden oluþturur"
-#: lib/db1.c:435 rpmio/url.c:445
-#, fuzzy, c-format
-msgid "failed to open %s: %s\n"
-msgstr "%s açýlamadý: %s"
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr "Veritabaný için %s kilit (lock) alýnamadý"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr "özel"
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr "paylaþýlan (shared)"
msgid "url port must be a number\n"
msgstr "hata: ftpport bir sayý olmalý\n"
+#: rpmio/url.c:445
+#, fuzzy, c-format
+msgid "failed to open %s: %s\n"
+msgstr "%s açýlamadý: %s"
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, fuzzy, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-29 13:25-0400\n"
+"POT-Creation-Date: 2000-07-29 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "opening db file %s mode 0x%x\n"
msgstr ""
-#: lib/db1.c:435 rpmio/url.c:445
-#, c-format
-msgid "failed to open %s: %s\n"
-msgstr ""
-
-#: lib/db1.c:451
+#. XXX check errno validity
+#: lib/db1.c:449
#, c-format
msgid "cannot get %s lock on database"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "exclusive"
msgstr ""
-#: lib/db1.c:452 lib/db3.c:1097
+#: lib/db1.c:450 lib/db3.c:1097
msgid "shared"
msgstr ""
msgid "url port must be a number\n"
msgstr ""
+#: rpmio/url.c:445
+#, c-format
+msgid "failed to open %s: %s\n"
+msgstr ""
+
#. XXX Fstrerror
#: rpmio/url.c:462
#, c-format
/* rpmdb functions */
static void rpmdbDealloc(rpmdbObject * s);
+static PyObject * rpmdbFirst(rpmdbObject * s, PyObject * args);
+static PyObject * rpmdbNext(rpmdbObject * s, PyObject * args);
static PyObject * rpmdbGetAttr(rpmdbObject * s, char * name);
static PyObject * rpmdbByName(rpmdbObject * s, PyObject * args);
static PyObject * rpmdbByProvides(rpmdbObject * s, PyObject * args);
struct rpmdbObject_s {
PyObject_HEAD;
rpmdb db;
+ int offx;
+ int noffs;
+ int *offsets;
} ;
struct rpmdbMIObject_s {
};
static struct PyMethodDef rpmdbMethods[] = {
+ {"firstkey", (PyCFunction) rpmdbFirst, 1 },
+ {"nextkey", (PyCFunction) rpmdbNext, 1 },
{"findbyfile", (PyCFunction) rpmdbByFile, 1 },
{"findbyname", (PyCFunction) rpmdbByName, 1 },
{"findbyprovides", (PyCFunction) rpmdbByProvides, 1 },
o = PyObject_NEW(rpmdbObject, &rpmdbType);
o->db = NULL;
+ o->offx = 0;
+ o->noffs = 0;
+ o->offsets = NULL;
if (rpmdbOpen(root, &o->db, forWrite ? O_RDWR | O_CREAT: O_RDONLY, 0644)) {
char * errmsg = "cannot open database in %s";
}
static void rpmdbDealloc(rpmdbObject * s) {
+ if (s->offsets) {
+ free(s->offsets);
+ }
if (s->db) {
rpmdbClose(s->db);
}
}
+static PyObject * rpmdbFirst(rpmdbObject * s, PyObject * args) {
+ int first;
+
+ if (!PyArg_ParseTuple (args, "")) return NULL;
+
+ /* Acquire all offsets in one fell swoop. */
+ if (s->offsets == NULL || s->noffs <= 0) {
+ rpmdbMatchIterator mi;
+ Header h;
+
+ if (s->offsets)
+ free(s->offsets);
+ s->offsets = NULL;
+ s->noffs = 0;
+ mi = rpmdbInitIterator(s->db, RPMDBI_PACKAGES, NULL, 0);
+ while ((h = rpmdbNextIterator(mi)) != NULL) {
+ s->noffs++;
+ s->offsets = realloc(s->offsets, s->noffs * sizeof(s->offsets[0]));
+ s->offsets[s->noffs-1] = rpmdbGetIteratorOffset(mi);
+ }
+ rpmdbFreeIterator(mi);
+ }
+
+ s->offx = 0;
+ if (s->offsets != NULL && s->offx < s->noffs)
+ first = s->offsets[s->offx++];
+ else
+ first = 0;
+
+ if (!first) {
+ PyErr_SetString(pyrpmError, "cannot find first entry in database\n");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", first);
+}
+
+static PyObject * rpmdbNext(rpmdbObject * s, PyObject * args) {
+ int where;
+
+ if (!PyArg_ParseTuple (args, "i", &where)) return NULL;
+
+ if (s->offsets == NULL || s->offx >= s->noffs) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+
+ where = s->offsets[s->offx++];
+
+ if (!where) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+
+ return Py_BuildValue("i", where);
+}
+
static PyObject * handleDbResult(rpmdbMatchIterator mi) {
PyObject * list;
Name: rpm
%define version 4.0
Version: %{version}
-Release: 0.61
+Release: 0.62
Group: System Environment/Base
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/rpm-%{version}.tar.gz
Copyright: GPL
* Sat Jul 29 2000 Jeff Johnson <jbj@redhat.com>
- bail on firstkey/nextkey, there's a better way.
- link rpm2cpio dynamically since cpio is linked dynamically.
+- re-resurrect firstkey/nextkey python bindings for up2date compatibility.
* Fri Jul 28 2000 Jeff Johnson <jbj@redhat.com>
- resurrect firstkey/nextkey python bindings.