[PATCH] Remove some stray parenthesis

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Feb 3 12:27:40 UTC 2015


On Tue, Feb 03, 2015 at 01:15:26PM +0100, David Shea wrote:
> It's not like python-requrests changed any timed recently, so how this
> ever worked at all is a mystery.

Ack.

> ---
>  pyanaconda/packaging/__init__.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
> index c6335fa..91343db 100644
> --- a/pyanaconda/packaging/__init__.py
> +++ b/pyanaconda/packaging/__init__.py
> @@ -361,9 +361,9 @@ class Payload(object):
>                  response = None
>  
>          if response:
> -            # write the the local treeinfo file
> +            # write the local treeinfo file
>              with open("/tmp/.treeinfo", "w") as f:
> -                f.write(response.text())
> +                f.write(response.text)
>  
>              # and also return the treeinfo contents as a string
>              return response.text
> -- 
> 2.1.0
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list