[ontv] Remove broken renaming of listings



commit def83ddb01e47b7a03be9d6044c70331989ac8e4
Author: Olof Kindgren <olki src gnome org>
Date:   Wed Mar 10 22:36:46 2010 +0100

    Remove broken renaming of listings
    
    Strange line in xmltv_file removed. I have no idea what it was supposed
    to do.

 ontv/xmltv_file.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/ontv/xmltv_file.py b/ontv/xmltv_file.py
index cdbcf71..6331b1d 100644
--- a/ontv/xmltv_file.py
+++ b/ontv/xmltv_file.py
@@ -82,8 +82,6 @@ class XMLTVFile(gobject.GObject):
                 if self.config.debug:
                     os.rename(self.listings.file, "%s.debug" %
                               self.listings.file)
-                else:
-                    os.rename(self.listings.file)
         if self.has_changed() or force_reload:
             gtk.gdk.threads_enter()
             self.emit("loading")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]