Skip to content

Commit df35395

Browse files
committed
Merge branch 'main' into signal/better-releases
2 parents 16ce366 + d1800e0 commit df35395

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

sign-pkg-windows/sign.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
$/LicenseInfo$
1111
"""
1212

13-
import os
1413
import re
1514
import shlex
1615
import subprocess
1716
import sys
18-
import time
19-
from collections.abc import Iterable
2017
from datetime import datetime, timedelta
2118
from pathlib import Path
2219

@@ -60,8 +57,8 @@ def sign(executable, *, vault_uri, cert_name, client_id, client_secret, tenant_i
6057
'-kvt', tenant_id,
6158
'-kvs', client_secret,
6259
'-kvc', cert_name,
63-
'-tr', 'http://timestamp.digicert.com',
64-
'-v', executable]
60+
'-tr', 'http://timestamp.digicert.com',
61+
'-v', executable]
6562
print(name, 'signing:', shlex.join(command))
6663
done = subprocess.run(command,
6764
stdout=subprocess.PIPE,
@@ -89,7 +86,7 @@ def sign(executable, *, vault_uri, cert_name, client_id, client_secret, tenant_i
8986
print(f'::warning::Certificate expires in {expires.days} days: {expiration}')
9087
break
9188
else:
92-
## raise Error('Failed to find certificate expiration date')
89+
# raise Error('Failed to find certificate expiration date')
9390
print('::warning::Failed to find certificate expiration date')
9491
return rc
9592

0 commit comments

Comments
 (0)