[gnome-dvb-daemon] Totem: Fixed a couple of issues revealed by pylint



commit dc49fa6c7fc9ebb18938a84544886d05c2f83fc2
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Sat Apr 23 14:05:22 2011 +0200

    Totem: Fixed a couple of issues revealed by pylint

 client/totem-plugin/dvb-daemon.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/client/totem-plugin/dvb-daemon.py b/client/totem-plugin/dvb-daemon.py
index f8e8407..c39f154 100644
--- a/client/totem-plugin/dvb-daemon.py
+++ b/client/totem-plugin/dvb-daemon.py
@@ -119,19 +119,19 @@ class DvbSetup:
 
         if func:
             if user_data:
-	            func (ret, user_data)
+                func (ret, user_data)
             else:
                 func (ret)
 
         self._in_progress = False
         GLib.spawn_close_pid(pid)
 
-    def _find_program_in_path(self, file):
+    def _find_program_in_path(self, afile):
         path = os.environ.get("PATH", os.defpath)
         mode=os.F_OK | os.X_OK
 
-        for dir in path.split(os.pathsep):
-            full_path = os.path.join(dir, file)
+        for adir in path.split(os.pathsep):
+            full_path = os.path.join(adir, afile)
             if os.path.exists(full_path) and os.access(full_path, mode):
                 return full_path
         return None



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