pkgsrc-wip/freevo/patches/patch-ah

14 lines
459 B
Text

$NetBSD: patch-ah,v 1.1 2004/01/04 11:55:15 mpasternak Exp $
diff -ur src.orig/util/pymetar.py src/util/pymetar.py
--- src.orig/util/pymetar.py Sun Jan 4 11:51:23 2004
+++ src/util/pymetar.py Sun Jan 4 11:52:40 2004
@@ -50,7 +50,7 @@
Please e-mail bugs to: %s""" % (__version__, __author__)
import sys
-if float(sys.version[0:3]) >= 2.3:
+if float(sys.version[0:3].replace("p", ".")) >= 2.3:
import socket
socket.setdefaulttimeout(10)
else: