Revision 824 in trunk got a fix which makes Smart not crash when not using pycurl.
=== modified file 'smart/commands/channel.py' --- smart/commands/channel.py 2008-07-05 20:02:42 +0000 +++ smart/commands/channel.py 2008-07-10 22:34:30 +0000 @@ -193,7 +193,7 @@ for arg in opts.add: if "=" not in arg: raise Error, _("Argument '%s' has no '='") % arg - key, value = arg.split("=") + key, value = arg.split("=", 1) channel[key.strip()] = value.strip() channel = parseChannelData(channel) channel["alias"] = alias
I will check again later for a proper fix when pycurl is installed.
Revision 824 in trunk got a fix which makes Smart not crash when not using pycurl.
=== modified file 'smart/ commands/ channel. py' channel. py 2008-07-05 20:02:42 +0000 channel. py 2008-07-10 22:34:30 +0000
raise Error, _("Argument '%s' has no '='") % arg
channel[ key.strip( )] = value.strip()
channel = parseChannelDat a(channel)
channel[ "alias" ] = alias
--- smart/commands/
+++ smart/commands/
@@ -193,7 +193,7 @@
for arg in opts.add:
if "=" not in arg:
- key, value = arg.split("=")
+ key, value = arg.split("=", 1)
I will check again later for a proper fix when pycurl is installed.