Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-01-03 18:26:33 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-01-03 18:26:33 (GMT)
commitde2aa036df5b65a091bd58d9015c8f41087ccdc6 (patch)
tree5c9528ddc275aa0fe5d317c56550c73ae3f79209
parent26e5fc5ca91a460838ad99c03924dc844747fafb (diff)
Fix typo
-rw-r--r--src/sugar/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/util.py b/src/sugar/util.py
index d222f9c..ac97f9a 100644
--- a/src/sugar/util.py
+++ b/src/sugar/util.py
@@ -268,7 +268,7 @@ class TempFilePath(str):
def __new__(cls, path=None):
if path is None:
fd, path = tempfile.mkstemp()
- os.remove(fd)
+ os.close(fd)
logging.debug('TempFilePath created %r' % path)
return str.__new__(cls, path)