summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-07-09 11:27:08 +0000
committerJeroen Roovers <jer@gentoo.org>2013-07-09 11:27:08 +0000
commitbce9730383bf15b989e4cb3a6a46d90e9c0efda8 (patch)
tree6ea939516317d603ffadc139586d714fcca63676 /sci-calculators
parentStable for HPPA (bug #476220). (diff)
downloadgentoo-2-bce9730383bf15b989e4cb3a6a46d90e9c0efda8.tar.gz
gentoo-2-bce9730383bf15b989e4cb3a6a46d90e9c0efda8.tar.bz2
gentoo-2-bce9730383bf15b989e4cb3a6a46d90e9c0efda8.zip
Fix python script (remove proper node from XML tree).
(Portage version: 2.2.0_alpha187/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/units/ChangeLog8
-rwxr-xr-xsci-calculators/units/files/units-2.01_cur2
-rw-r--r--sci-calculators/units/units-2.01-r4.ebuild (renamed from sci-calculators/units/units-2.01-r3.ebuild)2
3 files changed, 9 insertions, 3 deletions
diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog
index 316b72abad9c..e531ee7d7054 100644
--- a/sci-calculators/units/ChangeLog
+++ b/sci-calculators/units/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-calculators/units
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.57 2013/07/08 10:27:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.58 2013/07/09 11:27:08 jer Exp $
+
+*units-2.01-r4 (09 Jul 2013)
+
+ 09 Jul 2013; Jeroen Roovers <jer@gentoo.org> -units-2.01-r3.ebuild,
+ +units-2.01-r4.ebuild, files/units-2.01_cur:
+ Fix python script (remove proper node from XML tree).
*units-2.01-r3 (08 Jul 2013)
diff --git a/sci-calculators/units/files/units-2.01_cur b/sci-calculators/units/files/units-2.01_cur
index 7d27921f9ee3..dceb6ff5ac37 100755
--- a/sci-calculators/units/files/units-2.01_cur
+++ b/sci-calculators/units/files/units-2.01_cur
@@ -37,7 +37,7 @@ for currency in currencies:
maxlen = len(currency.find('description').text)
if currency.find('code').text == 'USD':
usdval = currency.find('rate').text[2:]
- currency.remove
+ currencies.remove(currency)
# print rates here
diff --git a/sci-calculators/units/units-2.01-r3.ebuild b/sci-calculators/units/units-2.01-r4.ebuild
index 706afc556e24..af37224d7b05 100644
--- a/sci-calculators/units/units-2.01-r3.ebuild
+++ b/sci-calculators/units/units-2.01-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.01-r3.ebuild,v 1.1 2013/07/08 10:27:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.01-r4.ebuild,v 1.1 2013/07/09 11:27:08 jer Exp $
EAPI=5
inherit autotools eutils