FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sync Tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Information Services
DevOps
Education Space Scheduling and Modelling (ESSM)
Sync Tool
Commits
dd0e02e6
Commit
dd0e02e6
authored
4 years ago
by
Robin Goodall
Browse files
Options
Downloads
Patches
Plain Diff
site optimeindexes in set not list
parent
f4f24467
No related branches found
No related tags found
No related merge requests found
Pipeline
#38135
passed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
essmsync/booker.py
+2
-2
2 additions, 2 deletions
essmsync/booker.py
with
2 additions
and
2 deletions
essmsync/booker.py
+
2
−
2
View file @
dd0e02e6
...
...
@@ -260,8 +260,8 @@ def op_get_sites():
if
config
.
get
(
'
booker.buildings
'
)
is
None
:
op_get_buildings
()
# Get all (non -1) site OptimeIndexes for filtered buildings
site_ois
=
[
b
[
'
Site
'
]
for
b
in
config
.
get
(
'
booker.buildings
'
)
if
b
[
'
Site
'
]
!=
-
1
]
site_ois
=
{
b
[
'
Site
'
]
for
b
in
config
.
get
(
'
booker.buildings
'
)
if
b
[
'
Site
'
]
!=
-
1
}
if
len
(
site_ois
)
==
0
:
LOG
.
error
(
'
No sites in Booker related to TermTime rooms
'
)
raise
BookerAPIError
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment