restage 0.7.0__py3-none-any.whl → 0.7.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- restage/cache.py +10 -2
- restage/mcpl.py +0 -1
- {restage-0.7.0.dist-info → restage-0.7.2.dist-info}/METADATA +1 -1
- {restage-0.7.0.dist-info → restage-0.7.2.dist-info}/RECORD +7 -7
- {restage-0.7.0.dist-info → restage-0.7.2.dist-info}/WHEEL +0 -0
- {restage-0.7.0.dist-info → restage-0.7.2.dist-info}/entry_points.txt +0 -0
- {restage-0.7.0.dist-info → restage-0.7.2.dist-info}/top_level.txt +0 -0
restage/cache.py
CHANGED
|
@@ -26,10 +26,18 @@ class FileSystem:
|
|
|
26
26
|
path.mkdir(parents=True)
|
|
27
27
|
db_write = Database(path / named)
|
|
28
28
|
root = path
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
|
|
30
|
+
def exists_not_root(roc):
|
|
31
|
+
roc = Path(roc)
|
|
32
|
+
if not roc.exists() or not (roc / named).exists():
|
|
33
|
+
return False
|
|
34
|
+
return root.resolve() != roc.resolve() if root is not None else True
|
|
35
|
+
|
|
36
|
+
if config['fixed'].exists() and config['fixed'].get() is not None:
|
|
37
|
+
more = [Path(c) for c in config['fixed'].as_str_seq() if exists_not_root(c)]
|
|
31
38
|
for m in more:
|
|
32
39
|
db_fixed.append(Database(m / named, readonly=True))
|
|
40
|
+
|
|
33
41
|
if db_write is not None and db_write.readonly:
|
|
34
42
|
raise ValueError("Specified writable database location is readonly")
|
|
35
43
|
if db_write is None:
|
restage/mcpl.py
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
restage/__init__.py,sha256=HlqvPpL7DKet00NAFyqJBNg9UFO7o05Gt2tFyKBQcsY,744
|
|
2
2
|
restage/bifrost_choppers.py,sha256=xQu21g2NcTLPpZ0ZWOuvN20zh07EWoO4QVoTnoORwZI,6443
|
|
3
|
-
restage/cache.py,sha256=
|
|
3
|
+
restage/cache.py,sha256=wh8b66aUDtOu38L-B-tqLs-bMtrnbWmuhy_HaKRYOsA,8102
|
|
4
4
|
restage/cspec_choppers.py,sha256=ZWxyCcwYn4z9ZNqj_r6RC9ImbhVjYc1fmv-Ijm8A2Yk,206
|
|
5
5
|
restage/database.py,sha256=anyOby31fUN7rGAVNsnWDUhAISV0vQ7en8aQwVS5ZwA,11051
|
|
6
6
|
restage/emulate.py,sha256=VrhfZJIbECdbDS-MHklqRuAIy9cRkjZkwPBTKQSQoe0,6164
|
|
7
7
|
restage/energy.py,sha256=w78GUIWcHxANvBl2DTu73FQFawCXfzlK6L32TBQNt4g,3371
|
|
8
8
|
restage/instr.py,sha256=A0ShtXkswt_f7o-cIDtsVbG03_tGELe1aS3WzLxzkJM,2494
|
|
9
|
-
restage/mcpl.py,sha256=
|
|
9
|
+
restage/mcpl.py,sha256=u7ixerJs4lqKSW2MYndZ2Xpsk8O0S-ZVo735YIy86gc,3223
|
|
10
10
|
restage/range.py,sha256=TjOf4DSKfgoAIcrWQvv6MrtksQpnGJHdsEjVI5K-UfI,8116
|
|
11
11
|
restage/run.py,sha256=bTcQIN9edKMXU_eFdX3E_mtJjwemoARrIUmZqzEGf0E,1475
|
|
12
12
|
restage/scan.py,sha256=Yx8OQSBG6I2_64sW0LIDb0glVKwWoxUQQznASXgDZFQ,1432
|
|
@@ -14,8 +14,8 @@ restage/splitrun.py,sha256=W_pTeiMjc9hhu-zaE6fdetVLG6MGEpnaTOdgmgVkS1g,26061
|
|
|
14
14
|
restage/tables.py,sha256=vQf0GkM7ojQbWee_P_Xqfx0-lXLym7x6kyam8CWpB5s,16373
|
|
15
15
|
restage/config/__init__.py,sha256=zFRT9QXgpUJpBncELCQ6by1-kjYp8Li1yJDfqxkHxAA,965
|
|
16
16
|
restage/config/default.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
restage-0.7.
|
|
18
|
-
restage-0.7.
|
|
19
|
-
restage-0.7.
|
|
20
|
-
restage-0.7.
|
|
21
|
-
restage-0.7.
|
|
17
|
+
restage-0.7.2.dist-info/METADATA,sha256=kNw5CzeloKGwxJEso0WrVAL4OwrMDFTAmYQEX4Bp1W4,6606
|
|
18
|
+
restage-0.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
restage-0.7.2.dist-info/entry_points.txt,sha256=vYNOPxJ4PzG-1GGFSd08jFxhrtKUWAdWzjJQeFBzFJE,116
|
|
20
|
+
restage-0.7.2.dist-info/top_level.txt,sha256=iM_pb-taTZ0S2WMoDnt_qDMZoNMjmM19z3tTCuVm1IE,8
|
|
21
|
+
restage-0.7.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|