[python-praw/f20] update patch

Fabian Affolter fab at fedoraproject.org
Wed Nov 5 14:04:53 UTC 2014


commit b34f6e17bbe8e5f7a2db3bf242434d9db4e8d4d7
Author: Fabian Affolter <fabian at affolter-engineering.ch>
Date:   Wed Nov 5 15:04:45 2014 +0100

    update patch

 praw-2.1.19-update.patch |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/praw-2.1.19-update.patch b/praw-2.1.19-update.patch
new file mode 100644
index 0000000..90307d5
--- /dev/null
+++ b/praw-2.1.19-update.patch
@@ -0,0 +1,29 @@
+--- praw/__init__.py	2014-11-04 07:36:21.000000000 +0100
++++ praw/__init__.py.new	2014-11-05 14:39:40.257590896 +0100
+@@ -41,7 +41,7 @@
+ from requests import Request
+ from six.moves import html_entities, http_cookiejar
+ from six.moves.urllib.parse import parse_qs, urlparse, urlunparse
+-from update_checker import update_check
++#from update_checker import update_check
+ from warnings import warn_explicit
+ 
+ 
+@@ -275,7 +275,7 @@
+     update_checked = False
+ 
+     def __init__(self, user_agent, site_name=None, handler=None,
+-                 disable_update_check=False, **kwargs):
++                 disable_update_check=True, **kwargs):
+         """Initialize our connection with a reddit server.
+ 
+         The user_agent is how your application identifies itself. Read the
+@@ -321,7 +321,7 @@
+         # Check for updates if permitted and this is the first Reddit instance
+         if not disable_update_check and not self.update_checked \
+                 and self.config.check_for_updates:
+-            update_check(__name__, __version__)
++            #update_check(__name__, __version__)
+             self.update_checked = True
+ 
+     def _request(self, url, params=None, data=None, files=None, auth=None,


More information about the scm-commits mailing list