2004-11-25 19:37:43 +01:00
|
|
|
$NetBSD: patch-aa,v 1.2 2004/11/25 18:37:43 minskim Exp $
|
2004-01-04 12:47:17 +01:00
|
|
|
|
2004-11-25 19:37:43 +01:00
|
|
|
--- libxml.py.orig 2004-09-28 05:59:58.000000000 -0500
|
2004-01-04 12:47:17 +01:00
|
|
|
+++ libxml.py
|
2004-11-25 19:37:43 +01:00
|
|
|
@@ -281,7 +281,7 @@ class xmlCore:
|
2004-01-04 12:47:17 +01:00
|
|
|
# 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)
|