Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix
authorRob Lemley <rob@thunderbird.net>
Wed, 15 Apr 2020 14:10:17 -0400
changeset 37958 af4dc99a4b6a50c57bf0bbfaa1f1af9c53e373ed
parent 37957 7c06681d8e9a22d9226498c34b620cd4d3cf8ea3
child 37959 e0aed4844492f59d12953ede3baa57a126b0087b
push id2595
push userclokep@gmail.com
push dateMon, 04 May 2020 19:02:04 +0000
treeherdercomm-beta@f53913797371 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbutsage-fix
bugs1621785
Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix The third-party code should not be checked, added fixes for remaining failures.
python/thirdroc/thirdroc/__init__.py
third_party/niwcompat/dirent.h
tools/lint/ThirdPartyPaths.txt
--- a/python/thirdroc/thirdroc/__init__.py
+++ b/python/thirdroc/thirdroc/__init__.py
@@ -1,13 +1,13 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-from __future__ import absolute_import
+from __future__ import print_function, absolute_import
 
 import re
 from distutils.version import StrictVersion
 
 VTAG_RE = re.compile(r"^v\d+\.\d+\.\d+$")
 
 
 def tag2version(tag):
old mode 100755
new mode 100644
--- a/tools/lint/ThirdPartyPaths.txt
+++ b/tools/lint/ThirdPartyPaths.txt
@@ -1,5 +1,10 @@
 comm/calendar/libical/src/libical
 comm/chat/protocols/matrix/lib
+comm/third_party/bzip2
+comm/third_party/botan
+comm/third_party/json-c
 comm/third_party/libgpg-error
 comm/third_party/libgcrypt
 comm/third_party/libotr
+comm/third_party/rnp
+comm/third_party/zlib