[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] navidoc/navidoc/modules imagemap.py
From: |
Asko Soukka |
Subject: |
[Gzz-commits] navidoc/navidoc/modules imagemap.py |
Date: |
Thu, 24 Apr 2003 06:59:20 -0400 |
CVSROOT: /cvsroot/navidoc
Module name: navidoc
Changes by: Asko Soukka <address@hidden> 03/04/24 06:59:18
Modified files:
navidoc/modules: imagemap.py
Log message:
another fix
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/navidoc/navidoc/navidoc/modules/imagemap.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: navidoc/navidoc/modules/imagemap.py
diff -u navidoc/navidoc/modules/imagemap.py:1.2
navidoc/navidoc/modules/imagemap.py:1.3
--- navidoc/navidoc/modules/imagemap.py:1.2 Thu Apr 24 06:26:14 2003
+++ navidoc/navidoc/modules/imagemap.py Thu Apr 24 06:59:18 2003
@@ -19,7 +19,7 @@
# MA 02111-1307 USA
#
-#$Id: imagemap.py,v 1.2 2003/04/24 10:26:14 humppake Exp $
+#$Id: imagemap.py,v 1.3 2003/04/24 10:59:18 humppake Exp $
#
# Written by Asko Soukka
@@ -78,7 +78,10 @@
out.write('<img ')
html = html[html.find('"', insert+1)+1:len(html)]
else:
+ out.close()
create_uml(diagram, context)
+ out = open(filepath, "w")
+ out.write(html[0:insert]);
dbg_navidoc("Mapping diagram %s within %s" % (diagram, filepath))
imgmap = get_imagemap(diagram, context)
dbg("Diagram %s imagemap: %s" % (diagram, "\n"+str(imgmap)))
@@ -129,6 +132,9 @@
if context.endswith(".gen.html"): context = context[0:len(context)-9]
if context.endswith(".html"): context = context[0:len(context)-5]
+ out = open(filepath, "w")
+ out.write(html[0:insert]);
+ out.close()
out = open(filepath, "w")
out.write(html[0:insert]);
create_uml(diagram, context, scale=0.5)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] navidoc/navidoc/modules imagemap.py,
Asko Soukka <=