Module: deluge
Branch: master
Commit: 7f60867ae920a3ee76042e1364b150c1be99095e

Author: John Garland <[email protected]>
Date:   Sun May  9 17:05:22 2010 +1000

Update docstrings to use names from previous commit

---

 deluge/ui/tracker_icons.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py
index a86709c..1771110 100644
--- a/deluge/ui/tracker_icons.py
+++ b/deluge/ui/tracker_icons.py
@@ -125,11 +125,11 @@ class TrackerIcons(Component):
         """
         Initialises a new TrackerIcons object
 
-        :param dir: the (optional) directory of where to store the icons
-        :type dir: string
-        :param noIcon: the (optional) path name of the icon to show when no 
icon
+        :param icon_dir: the (optional) directory of where to store the icons
+        :type icon_dir: string
+        :param no_icon: the (optional) path name of the icon to show when no 
icon
                        can be fetched
-        :type noIcon: string
+        :type no_icon: string
         """
         Component.__init__(self, "TrackerIcons")
         if not icon_dir:
@@ -140,7 +140,7 @@ class TrackerIcons(Component):
 
         self.icons = {}
         for icon in os.listdir(self.dir):
-            if icon != noIcon:
+            if icon != no_icon:
                 host = icon_name_to_host(icon)
                 try:
                     self.icons[host] = TrackerIcon(os.path.join(self.dir, 
icon))

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to