It's not like python-requrests changed any timed recently, so how this
ever worked at all is a mystery.
---
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
---
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(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
From: "Vratislav Podzimek" <vpodzime(a)redhat.com>
To: "anaconda patch review" <anaconda-patches(a)lists.fedorahosted.org>
Sent: Thursday, February 5, 2015 9:27:15 AM
Subject: Re: [PATCH] Remove some stray parenthesis
On Tue, 2015-02-03 at 13:15 +0100, David Shea wrote:
> It's not like python-requrests changed any timed recently, so how this
requests^^
--
Vratislav Podzimek
Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic
_______________________________________________
anaconda-patches mailing list
anaconda-patches(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches