diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-04 15:01:29 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-04 15:01:29 (GMT) |
commit | 7aa2e148538518a611f8c375899355f5869edcfa (patch) | |
tree | c92841c75567f7c76474d45a361028ff0f3aa934 /src/jarabe/journal/palettes.py | |
parent | 6e0baaa973d2320f80258d1872d13dfa0f04771e (diff) |
Misc pylint fixes
Diffstat (limited to 'src/jarabe/journal/palettes.py')
-rw-r--r-- | src/jarabe/journal/palettes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/journal/palettes.py b/src/jarabe/journal/palettes.py index 1345f43..9730dee 100644 --- a/src/jarabe/journal/palettes.py +++ b/src/jarabe/journal/palettes.py @@ -105,8 +105,8 @@ class ObjectPalette(Palette): def __clipboard_get_func_cb(self, clipboard, selection_data, info, data): # Get hold of a reference so the temp file doesn't get deleted self._temp_file_path = model.get_file(self._metadata['uid']) - logging.debug('__clipboard_get_func_cb %r' % file_path) - selection_data.set_uris(['file://' + file_path]) + logging.debug('__clipboard_get_func_cb %r' % self._temp_file_path) + selection_data.set_uris(['file://' + self._temp_file_path]) def __clipboard_clear_func_cb(self, clipboard, data): # Release and delete the temp file |