public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/pkgdir/metadata/
Date: Thu,  5 Sep 2013 16:01:03 +0000 (UTC)	[thread overview]
Message-ID: <1378396781.96b584032ddbc9d3eea5cc59be89c3592e71462d.dywi@gentoo> (raw)

commit:     96b584032ddbc9d3eea5cc59be89c3592e71462d
Author:     André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Thu Sep  5 15:59:41 2013 +0000
Commit:     André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Thu Sep  5 15:59:41 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=96b58403

fix 014240b7155c2fede9931f83e0bb22fb292d83c0

forgot to set retcode|=METADATA_NO_PACKAGE

---
 roverlay/overlay/pkgdir/metadata/__init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/roverlay/overlay/pkgdir/metadata/__init__.py b/roverlay/overlay/pkgdir/metadata/__init__.py
index da42307..ba06bc2 100644
--- a/roverlay/overlay/pkgdir/metadata/__init__.py
+++ b/roverlay/overlay/pkgdir/metadata/__init__.py
@@ -137,6 +137,8 @@ class MetadataJob ( object ):
             with open ( self.filepath, 'w' ) as fh:
                if not mref.write_file ( fh ):
                   retcode |= self.METADATA_WRITE_ERROR
+      else:
+         retcode |= self.METADATA_NO_PACKAGE
 
       self.last_write_code = retcode
       return bool ( retcode == self.METADATA_SUCCESS )
@@ -157,6 +159,6 @@ class MetadataJob ( object ):
             if code & self.METADATA_WRITE_ERROR:
                yield "write error"
 
-      reasons = list ( self.gen_decode ( self.last_write_code ) )
+      reasons = list ( gen_decode ( self.last_write_code ) )
       return reasons if reasons else [ '<unknown>', ]
    # --- end of decode_write_errors (...) ---


             reply	other threads:[~2013-09-05 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 16:01 André Erdmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-25 16:44 [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/pkgdir/metadata/ André Erdmann
2013-04-25 16:44 André Erdmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1378396781.96b584032ddbc9d3eea5cc59be89c3592e71462d.dywi@gentoo \
    --to=dywi@mailerd.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox