Module: deluge
Branch: master
Commit: 49ec3a1535b6f4317a85573ae44c743da7275188

Author: Damien Churchill <[email protected]>
Date:   Fri Apr 30 22:27:30 2010 +0100

remove the paranthesis from the @exports

---

 deluge/plugins/label/label/core.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/deluge/plugins/label/label/core.py 
b/deluge/plugins/label/label/core.py
index 478dac5..e06d3b1 100644
--- a/deluge/plugins/label/label/core.py
+++ b/deluge/plugins/label/label/core.py
@@ -172,12 +172,12 @@ class Core(CorePluginBase):
         self.clean_config()
         self.config.save()
 
-    @export()
+    @export
     def get_labels(self):
         return sorted(self.labels.keys())
 
     #Labels:
-    @export()
+    @export
     def add(self, label_id):
         """add a label
         see label_set_options for more options.
@@ -258,7 +258,7 @@ class Core(CorePluginBase):
                     return True
         return False
 
-    @export()
+    @export
     def set_options(self, label_id, options_dict , apply = False):
         """update the label options
 
@@ -295,12 +295,12 @@ class Core(CorePluginBase):
 
         self.config.save()
 
-    @export()
+    @export
     def get_options(self, label_id):
         """returns the label options"""
         return self.labels[label_id]
 
-    @export()
+    @export
     def set_torrent(self, torrent_id , label_id):
         """
         assign a label to a torrent
@@ -322,12 +322,12 @@ class Core(CorePluginBase):
 
         self.config.save()
 
-    @export()
+    @export
     def get_config(self):
         """see : label_set_config"""
         return dict((key, self.config[key]) for key in CORE_OPTIONS if key in 
self.config.config)
 
-    @export()
+    @export
     def set_config(self, options):
         """global_options:"""
         if options:

-- 
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