Diffstat (limited to 'scripts/builder/backendBuilder.py') (more/less context) (ignore whitespace changes)
-rwxr-xr-x[-rw-r--r--] | scripts/builder/backendBuilder.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/builder/backendBuilder.py b/scripts/builder/backendBuilder.py index 20b4bd0..b4ee990 100644..100755 --- a/scripts/builder/backendBuilder.py +++ b/scripts/builder/backendBuilder.py | |||
@@ -80,19 +80,21 @@ class BackendBuilder(object): | |||
80 | x = iter(value) | 80 | x = iter(value) |
81 | return ' '.join([reduce(add, tup) for tup in izip(x, x, x, x)]) | 81 | return ' '.join([reduce(add, tup) for tup in izip(x, x, x, x)]) |
82 | 82 | ||
83 | 83 | ||
84 | def logChecksums (self, content, message): | 84 | def logChecksums (self, content, message): |
85 | md5Digest = self.formatMAC(hashlib.md5(content.encode('utf-8')).hexdigest()) | 85 | md5Digest = self.formatMAC(hashlib.md5(content.encode('utf-8')).hexdigest()) |
86 | shaDigest = self.formatMAC(hashlib.sha1(content.encode('utf-8')).hexdigest()) | 86 | shaDigest = self.formatMAC(hashlib.sha1(content.encode('utf-8')).hexdigest()) |
87 | sha256Digest= self.formatMAC(hashlib.sha256(content.encode('utf-8')).hexdigest()) | 87 | sha256Digest= self.formatMAC(hashlib.sha256(content.encode('utf-8')).hexdigest()) |
88 | print "-----" | ||
88 | print message + ": " + md5Digest + " (md5)" | 89 | print message + ": " + md5Digest + " (md5)" |
89 | print message + ": " + shaDigest + " (sha1)" | 90 | print message + ": " + shaDigest + " (sha1)" |
90 | print message + ": " + sha256Digest + " (sha256)" | 91 | print message + ": " + sha256Digest + " (sha256)" |
92 | print "=====" | ||
91 | 93 | ||
92 | 94 | ||
93 | def shouldCompileCode (self): | 95 | def shouldCompileCode (self): |
94 | return ('debug' in self.versions) or ('install' in self.versions) | 96 | return ('debug' in self.versions) or ('install' in self.versions) |
95 | 97 | ||
96 | 98 | ||
97 | def run (self): | 99 | def run (self): |
98 | print self.name() + " - RUN" | 100 | print self.name() + " - RUN" |