[PATCH] Remove some stray parenthesis
David Shea
dshea at redhat.com
Tue Feb 3 12:15:26 UTC 2015
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
More information about the anaconda-patches
mailing list