RE: Cron <root@puppet01> /usr/local/bin/make_puppet_reports.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+1

--
Matt Domsch
Technology Strategist
Social Media and Community Professional
Dell | Office of the CTO

-----Original Message-----
From: infrastructure-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:infrastructure-bounces@xxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of seth vidal
Sent: Monday, May 16, 2011 2:45 PM
To: infrastructure
Subject: Re: Cron <root@puppet01> /usr/local/bin/make_puppet_reports.py

On Mon, 2011-05-16 at 19:35 +0000, Cron Daemon wrote:
> Traceback (most recent call last):
>   File "/usr/local/bin/make_puppet_reports.py", line 98, in ?
>     rep = syck.load(open(latest_report, 'r').read())
> TypeError: (1656, -1, 'syntax error')


Patch to fix the above.

need 2 +1's, please

the patch is just catching the exception and printing an error.

-sv


_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure


[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux