meld r1152 - trunk
- From: kaiw svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1152 - trunk
- Date: Sun, 1 Feb 2009 17:05:44 +0000 (UTC)
Author: kaiw
Date: Sun Feb 1 17:05:44 2009
New Revision: 1152
URL: http://svn.gnome.org/viewvc/meld?rev=1152&view=rev
Log:
Fix HistoryFileEntry opening non-absolute paths
Modified:
trunk/historyentry.py
Modified: trunk/historyentry.py
==============================================================================
--- trunk/historyentry.py (original)
+++ trunk/historyentry.py Sun Feb 1 17:05:44 2009
@@ -216,9 +216,9 @@
if expanded != filename:
return expanded
elif default_dir:
- return os.path.expanduser(os.path.join([default_dir, filename]))
+ return os.path.expanduser(os.path.join(default_dir, filename))
else:
- return os.path.join([os.getcwd(), filename])
+ return os.path.join(os.getcwd(), filename)
class HistoryFileEntry(gtk.VBox, gtk.Editable):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]