mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Export twice to maintain backward compatability (#4333)
* Export twice to maintain backward compattability * Removed double import and just use another variable (after running make before-commit) * Improve comment
This commit is contained in:
@ -33,6 +33,10 @@ from platformio.proc import exec_command
|
||||
|
||||
# pylint: enable=unused-import
|
||||
|
||||
# also export list_serial_ports as get_serialports to be
|
||||
# backward compatiblty with arduinosam versions 3.9.0 to 3.5.0 (and possibly others)
|
||||
get_serialports = get_serial_ports
|
||||
|
||||
|
||||
class memoized(object):
|
||||
def __init__(self, expire=0):
|
||||
|
Reference in New Issue
Block a user