[csw-devel] SF.net SVN: gar:[13950] csw/mgar/gar/v2/lib/python/package.py

Maciej Bliziński maciej at opencsw.org
Sun Mar 27 22:07:01 CEST 2011


2011/3/27  <bdwalton at users.sourceforge.net>:
> Revision: 13950
>          http://gar.svn.sourceforge.net/gar/?rev=13950&view=rev
> Author:   bdwalton
> Date:     2011-03-27 19:19:15 +0000 (Sun, 27 Mar 2011)
>
> Log Message:
> -----------
> checkpkg/package.py: for packages with no obsolete file, return a valid dict instead of an empty list
>
> Modified Paths:
> --------------
>    csw/mgar/gar/v2/lib/python/package.py
>
> Modified: csw/mgar/gar/v2/lib/python/package.py
> ===================================================================
> --- csw/mgar/gar/v2/lib/python/package.py       2011-03-27 17:00:21 UTC (rev 13949)
> +++ csw/mgar/gar/v2/lib/python/package.py       2011-03-27 19:19:15 UTC (rev 13950)
> @@ -381,7 +381,7 @@
>     obsoleted_by_path = os.path.join(self.directory, "install", "obsolete")
>
>     if not os.path.exists(obsoleted_by_path):
> -      return obsoleted_by
> +      return { "syntax_ok": True, "obsoleted_by": obsoleted_by }

I didn't catch that bit, sorry.


More information about the devel mailing list