Put a bit of sanity into python spec methods
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 18 Nov 2009 15:03:32 +0000 (17:03 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 18 Nov 2009 15:03:32 +0000 (17:03 +0200)
commit8f056c7849944abdf2e5ee86e8668bc6c61834ca
tree2727a31095f14aca5fc10935c14810a71154a82e
parent698c141fe3bfbc520a825e993a01a082cf80f69b
Put a bit of sanity into python spec methods
- prep, build etc missing from spec are not errors
- instead of returning NULLs (with no exception set!), just return None
  for anything that doesn't exist
- dont bother with NULL checks, if s->spec is NULL then something else
  has screwed up big time
python/spec-py.c