gget r108 - trunk/gget
- From: johans svn gnome org
- To: svn-commits-list gnome org
- Subject: gget r108 - trunk/gget
- Date: Sat, 30 Aug 2008 11:26:43 +0000 (UTC)
Author: johans
Date: Sat Aug 30 11:26:43 2008
New Revision: 108
URL: http://svn.gnome.org/viewvc/gget?rev=108&view=rev
Log:
Fixed a bug I introduced causing download state not being saved between session.
Modified:
trunk/gget/download_list.py
Modified: trunk/gget/download_list.py
==============================================================================
--- trunk/gget/download_list.py (original)
+++ trunk/gget/download_list.py Sat Aug 30 11:26:43 2008
@@ -149,12 +149,10 @@
download_element = self.__get_download_element(download)
if download_element:
status_element = download_element.find("status")
- if status_element:
- status_element.text = str(status)
+ status_element.text = str(status)
if status == COMPLETED:
date_completed = download_element.find("date_completed")
- if date_completed:
- date_completed.text = download.get_date_str("completed",
+ date_completed.text = download.get_date_str("completed",
DATE_FORMAT_DIGIT)
self.__save_xml()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]