gramps/gramps/gui
Paul Culley f3b5f75e37 Fix strings containing deprecated illegal escape sequences (#648)
Python 3.6 and above has deprecated illegal string escape sequences. Escape sequences are preceded by a '\' and valid ones are "\n\t\r" etc. Illegal ones are not in the list https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.

Previous to Python 3.6 these illegal sequences were ignored and the '\' was left in place. Pylint has been noting these for a while now.

This PR corrects these sequences in Gramps. I used

find . -name "*.py" | xargs -t -n 1 python3 -Wd -m py_compile 2>&1 | grep Depre

to locate the failing strings.
2018-09-04 12:03:17 +10:00
..
editors Fix strings containing deprecated illegal escape sequences (#648) 2018-09-04 12:03:17 +10:00
filters Correct binary test logic for primary mask. 2018-07-22 18:50:06 +01:00
glade Fix BaseSelector to avoid long delay before display on large trees 2018-07-22 18:46:07 +01:00
logger Enable Sqlite backend for all users 2017-12-11 22:18:39 +00:00
merge 7276: translate some currently-untranslated punctuation marks 2017-08-21 00:32:20 -07:00
plug Export options > Gui alignment issue 2018-07-22 18:40:12 +01:00
selectors Fix BaseSelector to avoid long delay before display on large trees 2018-07-22 18:46:07 +01:00
test
views Fix corrupted Bookmarks that can happen after Gramps crash (#655) 2018-09-04 10:16:21 +10:00
widgets Correct binary test logic for primary mask. 2018-07-22 18:50:06 +01:00
__init__.py
aboutdialog.py Enable Sqlite backend for all users 2017-12-11 22:18:39 +00:00
actiongroup.py
autocomp.py
basesidebar.py
clipboard.py Correct binary test logic for primary mask. 2018-07-22 18:50:06 +01:00
columnorder.py
configure.py Remove reference to postgresql in core code 2018-03-07 16:50:01 +00:00
dbguielement.py
dbloader.py Fix dialogs for crash when canceling via 'x' (#620) 2018-06-02 09:58:06 +10:00
dbman.py Fix strings containing deprecated illegal escape sequences (#648) 2018-09-04 12:03:17 +10:00
ddtargets.py
dialog.py Set the mnemonic modifier key to Alt-Ctrl for the Quartz Gdk backend. 2018-02-06 14:46:09 -08:00
display.py Open web links with /usr/bin/open on Mac and Python older than 3.5 2017-07-03 10:24:47 -07:00
displaystate.py Catch exceptions when loading recent files 2018-04-10 17:11:07 +01:00
glade.py Don't strip newlines from builder files. 2018-03-25 08:59:51 -07:00
grampsgui.py Comment out beta warning rather than change config setting 2017-06-02 23:50:44 +01:00
listmodel.py
makefilter.py
managedwindow.py Set the mnemonic modifier key to Alt-Ctrl for the Quartz Gdk backend. 2018-02-06 14:46:09 -08:00
navigator.py
pluginmanager.py
spell.py
tipofday.py
undohistory.py fix Undo; crashes due to race in Gtk 2017-09-01 22:41:32 +01:00
user.py Suppress extraneous output in unit tests 2017-03-06 21:55:48 +00:00
utils.py Correct binary test logic for primary mask. 2018-07-22 18:50:06 +01:00
utilscairo.py
viewmanager.py Fix usage of posixpath; should be os.path for os independence (#650) 2018-09-04 11:20:34 +10:00