Skip to content

Commit

Permalink
Remove the unicode literals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Dec 5, 2013
1 parent 2c465de commit 57c138e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions requests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def get_environ_proxies(url):
return getproxies()


def default_user_agent(name=u"python-requests"):
def default_user_agent(name="python-requests"):
"""Return a string representing the default user agent."""
_implementation = platform.python_implementation()

Expand All @@ -463,9 +463,9 @@ def default_user_agent(name=u"python-requests"):
p_system = 'Unknown'
p_release = 'Unknown'

return " ".join([u'%s/%s' % (name, __version__),
u'%s/%s' % (_implementation, _implementation_version),
u'%s/%s' % (p_system, p_release)])
return " ".join(['%s/%s' % (name, __version__),
'%s/%s' % (_implementation, _implementation_version),
'%s/%s' % (p_system, p_release)])


def default_headers():
Expand Down

0 comments on commit 57c138e

Please sign in to comment.