[transmageddon] Remove some redundant code from the dvdtrackchooser file



commit 6346a20b30fee3d58d480f5869e86df78950fe7a
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Sat Mar 15 13:08:11 2014 +0100

    Remove some redundant code from the dvdtrackchooser file

 src/dvdtrackchooser.py |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/dvdtrackchooser.py b/src/dvdtrackchooser.py
index 9b58d68..51f9056 100644
--- a/src/dvdtrackchooser.py
+++ b/src/dvdtrackchooser.py
@@ -21,15 +21,8 @@ class dvdtrackchooser(Gtk.Dialog):
        self.isdvd=False
        self.dvdtitle=False
        self.dvdpath=DVDDEVICE
-       print(self.dvdpath)
 
        store = Gtk.ListStore(str, int)
-       # udev code to find DVD drive on system - This code needs to go into Transmageddon proper
-       #client = GUdev.Client(subsystems=['block'])
-       #for device in client.query_by_subsystem("block"):
-       #    if device.has_property("ID_CDROM"):
-       #        self.dvdpath=device.get_device_file()
-
 
        # use lsdvd tool to get DVD track information
        self.Title = False


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