screenfreeze / deskcon-desktop

Integrates your Smartphone in your Desktop
GNU General Public License v3.0
97 stars 27 forks source link

Code duplication between pair.py and authentication.py (pair(clientsocket) and pair_client(clientsocket,q)) #13

Open olantwin opened 10 years ago

olantwin commented 10 years ago

Dear screenfreeze,

While I was searching for strings that I need to convert for the python3 conversion, I found that the functions pair(clientsocket) and pair_client(clientsocket,q) in pair.py and authentication.py respectively share a lot of common code.

authentication.pair(clientsocket) seems to be unused at the moment and does not do anything pair_client can't from what I can tell. Unless you have any plans for it, it can probably be removed.

Kind regards.