Skip to content

Commit d3dbcbd

Browse files
committed
Fixed error when attempting to revert local changes.
1 parent 2d1e9ee commit d3dbcbd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ox3apiclient.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ def __init__(self, domain, realm, consumer_key, consumer_secret,
5454

5555
# Similarly you probably won't need to access the cookie jar directly,
5656
# so it is private as well.
57-
#self._cookie_jar = cookielib.LWPCookieJar()
58-
#opener = \
59-
# urllib2.build_opener(urllib2.HTTPCookieProcessor(self._cookie_jar))
60-
#
61-
#urllib2.install_opener(opener)
57+
self._cookie_jar = cookielib.LWPCookieJar()
58+
opener = \
59+
urllib2.build_opener(urllib2.HTTPCookieProcessor(self._cookie_jar))
60+
61+
urllib2.install_opener(opener)
6262

6363
def _sign_request(self, req):
6464
"""Utility method to sign a request."""

0 commit comments

Comments
 (0)