projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df0f6c
)
minor change to befit opensuse
author
Gui Chen
<gui.chen@intel.com>
Thu, 16 Aug 2012 15:20:48 +0000
(08:20 -0700)
committer
Gui 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
patch
|
blob
|
history
setup.cfg
patch
|
blob
|
history
diff --git
a/mic/bootstrap.py
b/mic/bootstrap.py
index
69c7259
..
8679be1
100644
(file)
--- a/
mic/bootstrap.py
+++ b/
mic/bootstrap.py
@@
-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:
diff --git
a/setup.cfg
b/setup.cfg
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