[MapProxy] exception in seeding

Giuseppe De Marco peppelinux at yahoo.it
Wed May 29 06:24:29 PDT 2013


I'm working with a very ugly "patch" in "/usr/local/lib/python2.7/dist-packages/mapproxy/seed/util.py"
at line 68 

<ugly patch>

    def eta_string(self):
        timestamp = self.eta()
        if timestamp is None:
            return 'N/A'
        try:     return time.strftime('%Y-%m-%d-%H:%M:%S', time.localtime(timestamp))
        except Exception,e: return 'Errore in eta_string: ' + str(e)


</ugly patch>

anyone also occurred this ?
G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130529/7704a90b/attachment.html>


More information about the MapProxy mailing list