lp:~mwhudson/curtin

Get this repository:
git clone https://git.launchpad.net/~mwhudson/curtin
Only Michael Hudson-Doyle can upload to this repository. If you are Michael Hudson-Doyle please log in for upload directions.

Branches

Name Last Modified Last Commit
lp-1764210 2018-04-17 00:26:51 UTC 2018-04-17
Add unittests to validate install exception kept when unmount:disabled set

Author: Ryan Harper
Author Date: 2018-04-16 18:36:46 UTC

Add unittests to validate install exception kept when unmount:disabled set

master 2018-04-13 01:17:47 UTC 2018-04-13
pycodestyle: Fix invalid escape sequences in string literals.

Author: Scott Moser
Author Date: 2018-04-13 01:17:47 UTC

pycodestyle: Fix invalid escape sequences in string literals.

A bit of information from python doc that I got by never having known:
  String literals may optionally be prefixed with a letter `r' or `R';
  such strings are called raw strings and use different rules for
  backslash escape sequences.
  ...
  Unless an `r' or `R' prefix is present, escape sequences in strings are
  interpreted according to rules similar to those used by Standard C.

So basically, any use of \ not followed by one of [\'"abfnrtv]
or \ooo (octal) \xhh (hex) or a newline is invalid. This is most
commonly seen for us in regex. To solve, you either:
 a.) use a raw string r'...'
 b.) correctly escape the \ that was not intended to be interpreted.

Python has deprecated these invalid string literals now
  https://bugs.python.org/issue27364
and pycodestyle is identifying them with a W605 warning.
  https://github.com/PyCQA/pycodestyle/pull/676

12 of 2 results
This repository contains Public information 
Everyone can see this information.