minor change to befit opensuse
authorGui Chen <gui.chen@intel.com>
Thu, 16 Aug 2012 15:20:48 +0000 (08:20 -0700)
committerGui Chen <gui.chen@intel.com>
Thu, 16 Aug 2012 15:20:48 +0000 (08:20 -0700)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/bootstrap.py
setup.cfg

index 69c7259..8679be1 100644 (file)
@@ -46,14 +46,10 @@ class MiniBackend(object):
         self.postins = {}
 
     def __del__(self):
-        if not os.path.exists('/etc/fedora-release') and \
-           not os.path.exists('/etc/meego-release') and \
-           not os.path.exists('/etc/tizen-release'):
-            for i in range(3, os.sysconf("SC_OPEN_MAX")):
-                try:
-                    os.close(i)
-                except:
-                    pass
+        try:
+            del self.ts
+        except:
+            pass
 
     def get_ts(self):
         if not self._ts:
index 9632b9f..d895c95 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,3 @@
 [install]
 prefix=$PREFIX
-single-version-externally-managed=true
 record=mic.manifest