Skip to content

Commit 55625de

Browse files
committed
---
yaml --- r: 177066 b: refs/heads/auto c: ab0081a h: refs/heads/master v: v3
1 parent 6946c7d commit 55625de

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
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 58d03ad95d2f02a693869faa1081091d6999cd93
13+
refs/heads/auto: ab0081ae45f959fbf15cc532f8e2f4fa5192c4c5
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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/auto/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)