Skip to content

Commit 1945673

Browse files
committed
---
yaml --- r: 182769 b: refs/heads/beta c: ab0081a h: refs/heads/master i: 182767: 7fd1181 v: v3
1 parent 0dafb87 commit 1945673

File tree

4 files changed

+162
-138
lines changed

4 files changed

+162
-138
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 58d03ad95d2f02a693869faa1081091d6999cd93
34+
refs/heads/beta: ab0081ae45f959fbf15cc532f8e2f4fa5192c4c5
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: eb836bf767aa1d8d4cba488a9091cde3c0ab4b2f

branches/beta/src/etc/get-snapshot.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@
1010
# option. This file may not be copied, modified, or distributed
1111
# except according to those terms.
1212

13-
import os, tarfile, re, shutil, sys
13+
import os
14+
import tarfile
15+
import shutil
16+
import sys
1417
from snapshot import *
1518

19+
1620
def unpack_snapshot(triple, dl_path):
1721
print("opening snapshot " + dl_path)
1822
tar = tarfile.open(dl_path)
@@ -29,14 +33,14 @@ def unpack_snapshot(triple, dl_path):
2933
os.unlink(os.path.join(root, f))
3034

3135
for p in tar.getnames():
32-
name = p.replace("rust-stage0/", "", 1);
36+
name = p.replace("rust-stage0/", "", 1)
3337

3438
fp = os.path.join(stagep, name)
3539
print("extracting " + p)
3640
tar.extract(p, download_unpack_base)
3741
tp = os.path.join(download_unpack_base, p)
3842
if os.path.isdir(tp) and os.path.exists(fp):
39-
continue
43+
continue
4044
shutil.move(tp, fp)
4145
tar.close()
4246
shutil.rmtree(download_unpack_base)

branches/beta/src/etc/mklldeps.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import os
1212
import sys
1313
import subprocess
14-
import itertools
15-
from os import path
1614

1715
f = open(sys.argv[1], 'wb')
1816

@@ -35,6 +33,7 @@
3533
// take a look at src/etc/mklldeps.py if you're interested
3634
""")
3735

36+
3837
def run(args):
3938
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
4039
out, err = proc.communicate()

0 commit comments

Comments
 (0)