[CVS] RPM: rpm-4_5: rpm/ CHANGES rpm/python/ header-py.c

2007-06-05 Thread Jeff Johnson
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  

  Server: rpm5.org Name:   Jeff Johnson
  Root:   /v/rpm/cvs   Email:  [EMAIL PROTECTED]
  Module: rpm  Date:   06-Jun-2007 07:59:15
  Branch: rpm-4_5  Handle: 2007060606591401

  Modified files:   (Branch: rpm-4_5)
rpm CHANGES
rpm/python  header-py.c

  Log:
- python: permit hdr.name as well as hdr['name'].

  Summary:
RevisionChanges Path
1.1360.2.6  +1  -0  rpm/CHANGES
1.44.2.2+4  -1  rpm/python/header-py.c
  

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  
  $ cvs diff -u -r1.1360.2.5 -r1.1360.2.6 CHANGES
  --- rpm/CHANGES   6 Jun 2007 05:41:04 -   1.1360.2.5
  +++ rpm/CHANGES   6 Jun 2007 05:59:14 -   1.1360.2.6
  @@ -9,6 +9,7 @@
- revert indices to db_hash for compatibility.
- python: missing ts reference while iterating(#241751).
- python: pathetic band-aid pythonic return fixing (#239586).
  + - python: permit hdr.name as well as hdr['name'].

   4.4.8 -> 4.4.9:
- start rpm-4.4.9 devel.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/python/header-py.c
  
  $ cvs diff -u -r1.44.2.1 -r1.44.2.2 header-py.c
  --- rpm/python/header-py.c6 Jun 2007 05:41:05 -   1.44.2.1
  +++ rpm/python/header-py.c6 Jun 2007 05:59:15 -   1.44.2.2
  @@ -618,7 +618,10 @@
   static PyObject * hdr_getattro(PyObject * o, PyObject * n)
/[EMAIL PROTECTED]/
   {
  -return PyObject_GenericGetAttr(o, n);
  +PyObject * res = PyObject_GenericGetAttr(o, n);
  +if (res == NULL)
  + res = hdr_subscript(o, n);
  +return res;
   }
   
   static int hdr_setattro(PyObject * o, PyObject * n, PyObject * v)
  @@ .
__
RPM Package Managerhttp://rpm5.org
CVS Sources Repositoryrpm-cvs@rpm5.org


[CVS] RPM: rpm-4_5: rpm/ CHANGES rpm/python/ header-py.c

2007-06-05 Thread Jeff Johnson
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  

  Server: rpm5.org Name:   Jeff Johnson
  Root:   /v/rpm/cvs   Email:  [EMAIL PROTECTED]
  Module: rpm  Date:   06-Jun-2007 07:41:05
  Branch: rpm-4_5  Handle: 2007060606410401

  Modified files:   (Branch: rpm-4_5)
rpm CHANGES
rpm/python  header-py.c

  Log:
- python: pathetic band-aid pythonic return fixing (#239586).

  Summary:
RevisionChanges Path
1.1360.2.5  +1  -0  rpm/CHANGES
1.44.2.1+1  -0  rpm/python/header-py.c
  

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  
  $ cvs diff -u -r1.1360.2.4 -r1.1360.2.5 CHANGES
  --- rpm/CHANGES   6 Jun 2007 05:33:12 -   1.1360.2.4
  +++ rpm/CHANGES   6 Jun 2007 05:41:04 -   1.1360.2.5
  @@ -8,6 +8,7 @@
- upgrade to file-4.21 (CVE-2007-2026, CVE-2007-2799).
- revert indices to db_hash for compatibility.
- python: missing ts reference while iterating(#241751).
  + - python: pathetic band-aid pythonic return fixing (#239586).

   4.4.8 -> 4.4.9:
- start rpm-4.4.9 devel.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/python/header-py.c
  
  $ cvs diff -u -r1.44 -r1.44.2.1 header-py.c
  --- rpm/python/header-py.c25 May 2007 17:36:31 -  1.44
  +++ rpm/python/header-py.c6 Jun 2007 05:41:05 -   1.44.2.1
  @@ -807,6 +807,7 @@
   case RPMTAG_CONFLICTFLAGS:
   case RPMTAG_CONFLICTVERSION:
   case RPMTAG_CHANGELOGTIME:
  +case RPMTAG_FILEVERIFYFLAGS:
forceArray = 1;
break;
   case RPMTAG_SUMMARY:
  @@ .
__
RPM Package Managerhttp://rpm5.org
CVS Sources Repositoryrpm-cvs@rpm5.org