Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/util.py')
-rw-r--r--src/sugar/util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/util.py b/src/sugar/util.py
index 26bbe83..034038b 100644
--- a/src/sugar/util.py
+++ b/src/sugar/util.py
@@ -272,7 +272,7 @@ class TempFilePath(str):
if path is None:
fd, path = tempfile.mkstemp()
os.close(fd)
- logging.debug('TempFilePath created %r' % path)
+ logging.debug('TempFilePath created %r', path)
if path in _tracked_paths:
_tracked_paths[path] += 1
@@ -287,9 +287,9 @@ class TempFilePath(str):
if os.path.exists(self):
os.unlink(self)
- logging.debug('TempFilePath deleted %r' % self)
+ logging.debug('TempFilePath deleted %r', self)
else:
- logging.warning('TempFilePath already deleted %r' % self)
+ logging.warning('TempFilePath already deleted %r', self)
else:
_tracked_paths[self] -= 1