diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-03 18:26:33 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-03 18:26:33 (GMT) |
commit | de2aa036df5b65a091bd58d9015c8f41087ccdc6 (patch) | |
tree | 5c9528ddc275aa0fe5d317c56550c73ae3f79209 /src/sugar | |
parent | 26e5fc5ca91a460838ad99c03924dc844747fafb (diff) |
Fix typo
Diffstat (limited to 'src/sugar')
-rw-r--r-- | src/sugar/util.py | 2 |
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) |