mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Update cherrypy-18.6.1
This commit is contained in:
parent
b3ae6bd695
commit
ebffd124f6
57 changed files with 1269 additions and 1509 deletions
|
@ -1,5 +1,3 @@
|
|||
import six
|
||||
|
||||
import cherrypy
|
||||
from cherrypy.test import helper
|
||||
|
||||
|
@ -79,7 +77,7 @@ def setup_server():
|
|||
self.name = name
|
||||
|
||||
def __unicode__(self):
|
||||
return six.text_type(self.name)
|
||||
return str(self.name)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.name)
|
||||
|
@ -105,7 +103,7 @@ def setup_server():
|
|||
return 'POST %d' % make_user(name)
|
||||
|
||||
def GET(self):
|
||||
return six.text_type(sorted(user_lookup.keys()))
|
||||
return str(sorted(user_lookup.keys()))
|
||||
|
||||
def dynamic_dispatch(self, vpath):
|
||||
try:
|
||||
|
@ -130,7 +128,7 @@ def setup_server():
|
|||
"""
|
||||
Return the appropriate representation of the instance.
|
||||
"""
|
||||
return six.text_type(self.user)
|
||||
return str(self.user)
|
||||
|
||||
def POST(self, name):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue