Fix for Python 2.4 compatibility.

This commit is contained in:
Tomeu Vizoso 2007-05-05 10:59:21 +02:00
parent 0573e56d2c
commit 7fbcf08242

View File

@ -135,7 +135,7 @@ class ClipboardIcon(CanvasIcon):
if not uri.startswith('file://'):
return
path = urlparse.urlparse(uri).path
(scheme, netloc, path, params, query, fragment) = urlparse.urlparse(uri)
# FIXME: would be better to check for format.onDisk
try: