12 Commits

Author SHA1 Message Date
Oleksandr Kravchuk
43e6a43e3d python: Remove unnecessary 'from __future__ import'
All of the removed `from __future__ import` were needed in older
versions of Python (mostly 2.5.x and below) but later became mandatory
in most versions of Python 3 hence are not necessary anymore.

More specifically, according to __future__.py[1]:
- unicode_literals is part of Python since versions 2.6.0 and 3.0.0;
- print_function is part of Python since versions 2.6.0 and 3.0.0;
- absolute_import is part of Python since versions 2.5.0 and 3.0.0;
- division is part of Python since versions 2.2.0 and 3.0.0;

Get rid of those unnecessary imports to slightly clean up the codebase.

[1] https://github.com/python/cpython/blob/master/Lib/__future__.py
2020-08-03 11:40:27 +02:00
devnulling
9a453c2ca6 Update license header to SPDX format 2020-01-27 19:56:21 -08:00
Grant Cox
4ab717335c grc: add send_flowgraph_error_report to Messages
add method to the Messages module to print flowgraph
errors in a verbose format
2019-12-19 18:50:58 +01:00
Martin Braun
d495cad6aa fixup! GRC: Fix for GRC crash in case of flowgraph error 2019-06-19 10:34:00 -07:00
Arpit Gupta
4e1a368c1c GRC: Fix for GRC crash in case of flowgraph error 2019-06-18 22:33:28 -07:00
Sebastian Koslowski
498ed37834 grc: gtk3: invalid connection all red 2017-01-11 21:33:29 +01:00
Sebastian Koslowski
c47d56b807 grc: various clean-ups and fixes 2016-07-29 15:45:08 +02:00
Sebastian Koslowski
b9881b6ff5 grc: py3k compat using python-modernize 2016-06-09 14:47:35 +02:00
Sebastian Koslowski
4792c4e802 grc: remove 'Showing: ...' messages 2016-05-18 19:02:22 -04:00
Sebastian Koslowski
fb3dafcc0e grc-refactor: move gui prefs to gui 2016-04-05 08:39:02 +02:00
Sebastian Koslowski
460dc4d07a grc-refactor: Platform.py 2016-02-17 19:55:17 +01:00
Sebastian Koslowski
520423b192 grc-refactor: move Messages to core 2016-02-17 19:55:17 +01:00