Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5b16c81

Browse files
committed
Don't check for instance features in absence of the attribute
1 parent99922c1 commit5b16c81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎run-benchmarks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ def main(configfile, instances, benchmarks, resultsfile, resultsdir):
249249
'see benchmark-results/.)')
250250

251251
instance_features=instance.get('features')
252-
ifre.match(r'\bperf\b',instance_features):
252+
ifinstance_featuresisnotNoneand \
253+
re.match(r'\bperf\b',instance_features):
253254
res=run(f'docker exec -t{container_id} bash -c '
254255
f'pg_ctl_stop',
255256
shell=True,check=False,stdout=subprocess.PIPE)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp