On Sun, Aug 1, 2010 at 7:47 PM, David Campbell <davekong@archlinux.us> wrote:
> If a package has no elf files but is not 'any', throw a warning saying that
> the package could be 'any'.
> ---
> *Namcap/anyelf.py | * 18 ++++++++++--------
> *namcap-tags * * *| * *1 +
> *2 files changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/Namcap/anyelf.py b/Namcap/anyelf.py
> index f3414af..c037ff0 100644
> --- a/Namcap/anyelf.py
> +++ b/Namcap/anyelf.py
> @@ -33,20 +33,22 @@ class package:
> * * * *def short_name(self):
> * * * * * * * *return "anyelf"
> * * * *def long_name(self):
> - * * * * * * * return "If package is 'any' architecture, check for ELF files"
> + * * * * * * * return """Check for ELF files to see if a package should be 'any'
> + * * * * * * * architecture"""
This will be really ugly when it prints; you should just use a single
quoted string.
> *non-fhs-info-page %s :: Non-FHS info page (%s) found. Use /usr/share/info instead
> *non-fhs-man-page %s :: Non-FHS man page (%s) found. Use /usr/share/man instead
> *not-a-common-license %s :: %s is not a common license (it's not in /usr/share/licenses/common/)
> --
> 1.7.1.1
Applied, made a few small changes as stated above. Sorry this got lost
in the depths of the inbox.