diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-08-24 12:51:00 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-08-24 12:51:00 (GMT) |
commit | e1e8647de9e1b9fa79c11015ad63f6dd78a671f3 (patch) | |
tree | 99e0f2913c90e7010df8f848984ed07cb11d753e /src/sugar/bundle | |
parent | 496090fe62191da435044a3102378ab4dbadbda1 (diff) |
pylint fixes
Diffstat (limited to 'src/sugar/bundle')
-rw-r--r-- | src/sugar/bundle/activitybundle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py index 6f4f578..f38d70c 100644 --- a/src/sugar/bundle/activitybundle.py +++ b/src/sugar/bundle/activitybundle.py @@ -260,7 +260,8 @@ class ActivityBundle(Bundle): return os.path.join(self._path, icon_path) else: icon_data = self.get_file(icon_path).read() - temp_file, temp_file_path = tempfile.mkstemp(prefix=self._icon, suffix='.svg') + temp_file, temp_file_path = tempfile.mkstemp(prefix=self._icon, + suffix='.svg') os.write(temp_file, icon_data) os.close(temp_file) return util.TempFilePath(temp_file_path) |