YAPF 0.26.0

This commit is contained in:
Ivan Kravets committed 2019-03-07 12:36:17 +02:00
1 parent 237d55208c
commit 3f52a6d5ba
5 files changed
+12 -14

No files matched your search

+2 -2
View File
@@ -185,8 +185,8 @@ class LibBuilderBase(object):
@property
def build_dir(self):
lib_hash = hashlib.sha1(self.path if util.PY2 else self.path.
encode()).hexdigest()[:3]
lib_hash = hashlib.sha1(
self.path if util.PY2 else self.path.encode()).hexdigest()[:3]
return join("$BUILD_DIR", "lib%s" % lib_hash, basename(self.path))
@property