Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
541a0e59
authored
Oct 09, 2016
by
Szabolcs Gelencser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Azure template imports.
parent
7e3d9ab5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
circle/vm/tasks/local_periodic_tasks.py
+5
-4
No files found.
circle/vm/tasks/local_periodic_tasks.py
View file @
541a0e59
...
...
@@ -193,13 +193,13 @@ def update_azure_builtin_templates():
current_version_ids
.
append
(
current_version
.
azure_id
)
# delete old publishers, offers, skus, and versions
AzureBuiltinPublisher
.
objects
.
filter
(
AzureBuiltinPublisher
.
objects
.
exclude
(
azure_id__in
=
current_publisher_ids
)
.
delete
()
AzureBuiltinOffer
.
objects
.
filter
(
AzureBuiltinOffer
.
objects
.
exclude
(
azure_id__in
=
current_offer_ids
)
.
delete
()
AzureBuiltinSKU
.
objects
.
filter
(
AzureBuiltinSKU
.
objects
.
exclude
(
azure_id__in
=
current_sku_ids
)
.
delete
()
AzureBuiltinVersion
.
objects
.
filter
(
AzureBuiltinVersion
.
objects
.
exclude
(
azure_id__in
=
current_version_ids
)
.
delete
()
logger
.
info
(
"refreshed azure built-in template imports"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment