blob: ff79943d85d318228644f2a9d6c7443f40ef1bb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
--- libxml.py.orig 2003-12-25 00:17:24.000000000 -0600
+++ libxml.py
@@ -278,7 +278,7 @@ class xmlCore:
# defined as python2 properties
#
import sys
- if float(sys.version[0:3]) < 2.2:
+ if float(sys.version[0:3].replace('p', '.')) < 2.2:
def __getattr__(self, attr):
if attr == "parent":
ret = libxml2mod.parent(self._o)
|