]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
reformated error message as suggested by makermelissa
authorarhyneRWU <arhyne@rwu.edu>
Tue, 11 May 2021 02:49:40 +0000 (22:49 -0400)
committerarhyneRWU <arhyne@rwu.edu>
Tue, 11 May 2021 02:49:40 +0000 (22:49 -0400)
src/board.py

index 92ed6b92c525efb0735af985580dfd871cfcacc7..f277bc10ae6657b9c133fa44c8b3e655f4f9190e 100755 (executable)
@@ -231,10 +231,8 @@ elif board_id is None:
     import platform
     import pkg_resources
     package = str(pkg_resources.get_distribution('adafruit_platformdetect')).split()
-    raise NotImplementedError("We could not identify what IoT microcomputer running "
-                              "{0} your Adafruit is attached to, please update the package {1} "
-                              "verison {2} to a newer verison by running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect' "
-                              "".format(platform.system(),package[0],package[1]))
+    raise NotImplementedError("{1} version {2} was unable to identify the board and/or microcontroller running the {0} platform. Please be sure you have the latest packages running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'".format(platform.system(),package[0],package[1]))
+
 else:
     raise NotImplementedError("Board not supported {}".format(board_id))