mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 04:18:54 +03:00
Fix 'invalid escape sequence' warning
Backslash in regular expression is best used by writing a raw string.
This commit is contained in:
@@ -147,7 +147,7 @@ def classify_devices():
|
||||
'avr_de': [],
|
||||
'other': []
|
||||
}
|
||||
avr_de_re = re.compile('AVR\d+[DE][A-Z]\d+')
|
||||
avr_de_re = re.compile(r'AVR\d+[DE][A-Z]\d+')
|
||||
part = ad.lfirst(ad.cvar.part_list)
|
||||
while part:
|
||||
p = ad.ldata_avrpart(part)
|
||||
|
||||
Reference in New Issue
Block a user