[Skencil-commits] r517 - skencil/branches/skencil-0.6

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Sun Jan 29 20:13:58 CET 2006


Author: bh
Date: 2006-01-29 20:13:58 +0100 (Sun, 29 Jan 2006)
New Revision: 517

Modified:
   skencil/branches/skencil-0.6/ChangeLog
   skencil/branches/skencil-0.6/skconvert.py
Log:

* skconvert.py (convert): Properly destroy the document object.


Modified: skencil/branches/skencil-0.6/ChangeLog
===================================================================
--- skencil/branches/skencil-0.6/ChangeLog	2006-01-29 19:01:18 UTC (rev 516)
+++ skencil/branches/skencil-0.6/ChangeLog	2006-01-29 19:13:58 UTC (rev 517)
@@ -1,5 +1,9 @@
 2006-01-29  Bernhard Herzog  <bh at intevation.de>
 
+	* skconvert.py (convert): Properly destroy the document object.
+
+2006-01-29  Bernhard Herzog  <bh at intevation.de>
+
 	* Sketch/Modules/curveobject.c (curve_append_from_file): Allow any
 	object as parameter.  PyFile_GetLine can deal not only with real
 	file objects, i.e. ones whose type is PyFile_Type, but any object

Modified: skencil/branches/skencil-0.6/skconvert.py
===================================================================
--- skencil/branches/skencil-0.6/skconvert.py	2006-01-29 19:01:18 UTC (rev 516)
+++ skencil/branches/skencil-0.6/skconvert.py	2006-01-29 19:13:58 UTC (rev 517)
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 
 # Sketch - A Python-based interactive drawing program
-# Copyright (C) 2002, 2003 by Bernhard Herzog
+# Copyright (C) 2002, 2003, 2006 by Bernhard Herzog
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Library General Public
@@ -41,6 +41,7 @@
     else:
         sys.stderr.write("skconvert: unrecognized extension %s\n" % extension)
         sys.exit(1)
+    doc.Destroy()
 
 
 def main():



More information about the Skencil-commits mailing list