Package: deluge-console Version: 1.3.1-1 Severity: normal Tags: patch Hi, deluge-console ignores all its command line arguments but the first. This means I have to write $ deluge-console "add /some/torrent" rather than the natural $ deluge-console add /some/torrent
An obvoius patch is attached.
(One might argue about spaces and other weird stuff in file names, but
since deluge-console does its own string-parsing of the arguments, you
need double quoting with or without my patch. Changing that would
require major changes.)
regards,
Jan
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages deluge-console depends on:
ii deluge-common 1.3.1-1 bittorrent client written in Pytho
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-support 1.0.11 automated rebuilding support for P
deluge-console recommends no packages.
deluge-console suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/pyshared/deluge/ui/console/main.py (from
deluge-console package)
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
--- ui/console/main.py.orig 2011-03-25 08:16:53.000000000 +0100
+++ ui/console/main.py 2011-03-25 08:24:08.000000000 +0100
@@ -160,7 +160,7 @@
# Set the interactive flag to indicate where we should print the output
self.interactive = True
if args:
- args = args[0]
+ args = " ".join(args)
self.interactive = False
# Try to connect to the localhost daemon
signature.asc
Description: Digital signature

