git://git.onelab.eu
/
pyplnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
756e571
)
Remove unused temporary files.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 4 Dec 2008 21:39:14 +0000
(21:39 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 4 Dec 2008 21:39:14 +0000
(21:39 +0000)
modprobe.py
patch
|
blob
|
history
diff --git
a/modprobe.py
b/modprobe.py
index
da311ff
..
2ba40d7
100644
(file)
--- a/
modprobe.py
+++ b/
modprobe.py
@@
-99,6
+99,7
@@
class Modprobe():
os.chmod(filename,0644)
return True
else:
os.chmod(filename,0644)
return True
else:
+ os.unlink(tmpnam)
return False
def probe(self,name):
return False
def probe(self,name):