#2510: Bug in config.py type checking
-----------------------+---------------------------
Reporter: awknaust | Owner:
Type: patch | Status: new
Priority: minor | Milestone: 1.4.0
Component: Core | Version: develop (git)
Resolution: | Keywords: config
-----------------------+---------------------------
Comment (by awknaust):
This is an example traceback. I wrote a short test case to cover this
scenario
{{{
Traceback (most recent call last):
File "/home/awknaust/deluge/deluge/ui/gtkui/preferences.py", line 831,
in on_pref_dialog_configure_event
self.gtkui_config["pref_dialog_width"] = event.width
File "/home/awknaust/deluge/deluge/config.py", line 148, in __setitem__
return self.set_item(key, value)
File "/home/awknaust/deluge/deluge/config.py", line 189, in set_item
value = oldtype(value)
TypeError: cannot create 'NoneType' instances
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2510#comment:2>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.