diff --git a/.travis.yml b/.travis.yml index b6a26d821e..1f0068b652 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ addons: - protobuf-compiler - libprotobuf-dev - python-protobuf - - python3-protobuf env: global: diff --git a/Dockerfile b/Dockerfile index ae2645f359..08213ec00c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ RUN apt-get update # install build tools and dependencies RUN apt-get install -y build-essential git python python-ecdsa gcc-arm-none-eabi -RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf python3-protobuf +RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf diff --git a/firmware/protob/.gitignore b/firmware/protob/.gitignore index 969d878a10..8ea827fb73 100644 --- a/firmware/protob/.gitignore +++ b/firmware/protob/.gitignore @@ -2,5 +2,6 @@ *_pb2.py *.pb.c *.pb.h +*.pyc messages_map.h __pycache__/ diff --git a/firmware/protob/messages_map.py b/firmware/protob/messages_map.py index f727c1a70a..f8a74f0bab 100755 --- a/firmware/protob/messages_map.py +++ b/firmware/protob/messages_map.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python2 from collections import defaultdict from messages_pb2 import MessageType from types_pb2 import wire_in, wire_out, wire_debug_in, wire_debug_out, wire_tiny, wire_bootloader