From 34d8133d3573a6f7135d6758a1d5348d4e66e4c9 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 27 Aug 2009 22:01:38 +1200 Subject: [PATCH] slight improvement in variable names --- html2odt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html2odt b/html2odt index 8c59038..f353393 100644 --- a/html2odt +++ b/html2odt @@ -87,8 +87,8 @@ class Oo(object): #Reset each graphic object to an embedded copy of itself. #there are probably simpler ways to iterate, but this works. - for gn in doc.GraphicObjects.ElementNames: - g = doc.GraphicObjects.getByName(gn) + for name in doc.GraphicObjects.ElementNames: + g = doc.GraphicObjects.getByName(name) props = (PropertyValue("URL", 0, g.GraphicURL, 0),) g.setPropertyValue("Graphic", gp.queryGraphic(props)) -- 2.11.4.GIT