We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcdf691 commit f076c29Copy full SHA for f076c29
Adafruit_GPIO/Platform.py
@@ -65,7 +65,6 @@ def pi_revision():
65
elif match:
66
# Assume revision 2 if revision ends with any other 4 chars.
67
return 2
68
- else:
69
- # Couldn't find the revision, throw an exception.
70
- raise RuntimeError('Could not determine Raspberry Pi revision.')
+ # Couldn't find the revision, throw an exception.
+ raise RuntimeError('Could not determine Raspberry Pi revision.')
71
0 commit comments