aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-12-18 00:59:25 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-12-18 00:59:25 +0000
commit4e2e5a455e50ebb250cc54e6d4e8b756db40a201 (patch)
tree8021d19e98ad22b9c8f6cd93d391614e004fec1e
parent2edcc8146aac796b68b029bf0533d44a6501cd42 (diff)
parent0d5ec069daad84f047095c3bdd7bea27e9ed1e81 (diff)
downloadtransmission-remote-cli-4e2e5a455e50ebb250cc54e6d4e8b756db40a201.tar.gz
Merge tag 'upstream/1.4.6'
Upstream version 1.4.6
-rw-r--r--NEWS4
-rwxr-xr-xtransmission-remote-cli17
2 files changed, 16 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 1fda04e..02b45aa 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+1.4.6 2012-12-13
+ - Support for Transmission version 2.75
+
+
1.4.5 2012-11-07
BUGFIXES:
- Fix forwarding CLI args to transmission-remote
diff --git a/transmission-remote-cli b/transmission-remote-cli
index 668faff..d874a48 100755
--- a/transmission-remote-cli
+++ b/transmission-remote-cli
@@ -16,10 +16,10 @@
# http://www.gnu.org/licenses/gpl-3.0.txt #
########################################################################
-VERSION = '1.4.5'
+VERSION = '1.4.6'
TRNSM_VERSION_MIN = '1.90'
-TRNSM_VERSION_MAX = '2.73'
+TRNSM_VERSION_MAX = '2.75'
RPC_VERSION_MIN = 8
RPC_VERSION_MAX = 14
@@ -155,9 +155,16 @@ class ColorManager:
# has something to do with how highlighting focus works.)
bg_name = pair.split(',')[1].split(':')[1].upper()
fg_name = pair.split(',')[0].split(':')[1].upper()
- return { 'id': len(self.config.keys()) + 1,
- 'bg': eval('curses.COLOR_' + bg_name),
- 'fg': eval('curses.COLOR_' + fg_name) }
+ color_pair = { 'id': len(self.config.keys()) + 1 }
+ try:
+ color_pair['bg'] = eval('curses.COLOR_' + bg_name)
+ except AttributeError:
+ color_pair['bg'] = -1
+ try:
+ color_pair['fg'] = eval('curses.COLOR_' + fg_name)
+ except AttributeError:
+ color_pair['fg'] = -1
+ return color_pair
def id(self, name): return self.config[name]['id']
he patch. Closes: #506370 2010-02-28clarify copyright notice, reported by lintianReinhard Tartler1-1/+1 2010-02-28bump standards version to 3.8.4.Reinhard Tartler2-2/+3 2010-02-28bump debhelper compat level to 7Reinhard Tartler3-3/+4 2010-02-28disable mpd plugin. According to bugreports, it makes lcd4linuxReinhard Tartler3-3/+6 unusable for non-mpd users. Please consider co-maintaining the package if you want to see it coming back. Closes: #500068, #499055 2010-02-28prefer multiline dependsReinhard Tartler1-1/+9 2010-02-28update config.guess && config.sub, Closes: #542077Reinhard Tartler3-405/+624 2010-02-28update ac_python_devel.m4 from autoconf-archive package. This allowsReinhard Tartler2-66/+199 to build with python2.6. Closes: #571493 2010-02-28Add $remote-fs dependencies to init script. Reported by lintian.Reinhard Tartler2-2/+8 2008-01-10oops. fix version numberReinhard Tartler1-1/+1 2008-01-10* add Vcs-Bzr and Homepage header.Reinhard Tartler2-1/+4 2008-01-10* bump to standards version 3.7.3 (no changes needed)Reinhard Tartler2-2/+3 2008-01-10new upload to unstableReinhard Tartler1-0/+9 2008-01-10import commit 809 from trunk to fix ↵Reinhard Tartler4-255/+12 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436332 2007-04-05missing depends in LSB init stanzaReinhard Tartler1-0/+2 2007-04-05* new upstream tarball no longer contains a debian/ directory at allReinhard Tartler1-1/+3 (Closes: #385152) 2007-04-30new upstream versionReinhard Tartler63-4596/+7100 2007-04-05* add LSB keyword sectionReinhard Tartler2-1/+12 2007-04-05mark new upload in debian/changelogReinhard Tartler1-0/+6 2007-04-05import new upstreamReinhard Tartler162-10578/+5766 2007-04-05improvements to the manpageReinhard Tartler1-2/+6 2006-08-27update config.guess and .subReinhard Tartler2-350/+450 2006-08-27install new manpageReinhard Tartler2-2/+3