Hello community, here is the log from the commit of package python-openstack.compute for openSUSE:Factory checked in at 2012-08-26 11:34:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-openstack.compute (Old) and /work/SRC/openSUSE:Factory/.python-openstack.compute.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-openstack.compute", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-openstack.compute/python-openstack.compute.changes 2012-02-02 17:59:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-openstack.compute.new/python-openstack.compute.changes 2012-08-26 11:34:04.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Aug 23 12:23:05 UTC 2012 - idonmez@suse.com + +- Add python-openstack.compute-prettytable-0.6.patch: Compile with + new python-prettytable package. + +------------------------------------------------------------------- New: ---- python-openstack.compute-prettytable-0.6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-openstack.compute.spec ++++++ --- /var/tmp/diff_new_pack.LiH46A/_old 2012-08-26 11:34:05.000000000 +0200 +++ /var/tmp/diff_new_pack.LiH46A/_new 2012-08-26 11:34:05.000000000 +0200 @@ -24,13 +24,15 @@ Group: Development/Libraries/Python Url: https://github.com/jacobian/openstack.compute Source: jacobian-openstack.compute-89c5c6a.tar.gz +# PATCH-FIX-UPSTREAM python-openstack.compute-prettytable-0.6.patch idoenmez@suse.de -- Replace printt calls with get_string +Patch1: python-openstack.compute-prettytable-0.6.patch BuildRequires: python-argparse BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-httplib2 BuildRequires: python-mock BuildRequires: python-nose -BuildRequires: python-prettytable +BuildRequires: python-prettytable >= 0.6 Requires: python-argparse Requires: python-httplib2 Requires: python-prettytable @@ -46,6 +48,7 @@ %prep %setup -q -n jacobian-openstack.compute-89c5c6a +%patch1 -p1 %build python setup.py build ++++++ python-openstack.compute-prettytable-0.6.patch ++++++ Index: jacobian-openstack.compute-89c5c6a/openstack/compute/shell.py =================================================================== --- jacobian-openstack.compute-89c5c6a.orig/openstack/compute/shell.py +++ jacobian-openstack.compute-89c5c6a/openstack/compute/shell.py @@ -474,17 +474,17 @@ def print_list(objs, fields, formatters= row.append(getattr(o, field.lower().replace(' ', '_'), '')) pt.add_row(row) - pt.printt(sortby=fields[0]) + pt.get_string(sortby=fields[0]) def print_dict(d): pt = prettytable.PrettyTable(['Property', 'Value'], caching=False) pt.aligns = ['l', 'l'] [pt.add_row(list(r)) for r in d.iteritems()] - pt.printt(sortby='Property') + pt.get_string(sortby='Property') def main(): try: ComputeShell().main(sys.argv[1:]) except CommandError, e: print >> sys.stderr, e - sys.exit(1) \ No newline at end of file + sys.exit(1) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org