kozec / syncthing-gtk

GTK3 & python based GUI for Syncthing
GNU General Public License v2.0
1.29k stars 140 forks source link

Use newer notation #467

Closed dralley closed 6 years ago

dralley commented 6 years ago

Python 3 syntax for things like Exception handling, numeric octal literals, and set literals is backported to Python 2.7, so we can use it without any problems.

Implicit tuple unpacking is not supported in Python 3, so instead we can just make the tuple unpacking explicit.

kozec commented 6 years ago

This looks like it should work, thanks :)

I'll check it when I get to home today.

kozec commented 6 years ago

Merged. Thanks :)

bebehei commented 6 years ago

@dralley Yeah, we need more of that in syncthing GTK!