[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 135
Author: nicolaf
Date: 2009-03-27 04:05:53 +0100 (Fri, 27 Mar 2009)
Log Message:
-----------
bug
Modified Paths:
--------------
trunk/src/lib/ogp/core/ogpcore.py
Modified: trunk/src/lib/ogp/core/ogpcore.py
===================================================================
--- trunk/src/lib/ogp/core/ogpcore.py 2009-03-27 03:02:59 UTC (rev 134)
+++ trunk/src/lib/ogp/core/ogpcore.py 2009-03-27 03:05:53 UTC (rev 135)
@@ -87,8 +87,7 @@
path = dirname(resource_filename(__name__, '__init.py__'))
schema_f=open(join(path, XML_SCHEMA))
self.__schema = XMLSchema(parse(schema_f))
- #close(f)
- f.close()
+ schema_f.close()
def __del__(self):
logging.debug('OgpCore.__ogpcore.__del__()')