[dia] Fix: could not import diasvg.py



commit ba64600228994d6cbae48cf2e107ce77537c7f98
Author: Hans Breuer <hans breuer org>
Date:   Fri Sep 13 22:49:36 2013 +0200

    Fix: could not import diasvg.py
    
    unindent does not match any outer indentation level

 plug-ins/python/diasvg.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/python/diasvg.py b/plug-ins/python/diasvg.py
index 35703f3..bf8b759 100644
--- a/plug-ins/python/diasvg.py
+++ b/plug-ins/python/diasvg.py
@@ -63,7 +63,7 @@ class SvgRenderer :
                        if matrix :
                                attrs += 'transform="matrix' + str(matrix) + '" '
                if odict.has_key("id") :
-                               attrs += 'id="' + self._escape(odict['id']) + '"'
+                       attrs += 'id="' + self._escape(odict['id']) + '"'
                        self.f.write('<g ' + attrs + '>\n')
                # don't forget to render the object
                object.draw (self)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]