Skip to content
Snippets Groups Projects
Commit 434fc78f authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Removed explicit superclasses that are unnecessary in Python 3.

parent db37aa90
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ from kivy.clock import Clock ...@@ -6,7 +6,7 @@ from kivy.clock import Clock
from kivy.network.urlrequest import UrlRequest from kivy.network.urlrequest import UrlRequest
class RESTConnection(object): class RESTConnection:
def __init__(self, authority, port, username, password): def __init__(self, authority, port, username, password):
self.authority = authority self.authority = authority
self.port = port self.port = port
...@@ -32,7 +32,7 @@ class RESTConnection(object): ...@@ -32,7 +32,7 @@ class RESTConnection(object):
self.send_request_by_url(url, post_parameters, on_success, on_failure, on_error) self.send_request_by_url(url, post_parameters, on_success, on_failure, on_error)
class RESTCommunication(object): class RESTCommunication:
def __init__(self, coroutine, rest_connection, on_failure): def __init__(self, coroutine, rest_connection, on_failure):
self.generator = coroutine(self) self.generator = coroutine(self)
self.rest_connection = rest_connection self.rest_connection = rest_connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment