Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
ad6ecc98
Commit
ad6ecc98
authored
Apr 25, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checking change set length doesn't work
parent
22afa61d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
util/vpc-tools/vpc_dns.py
+1
-4
No files found.
util/vpc-tools/vpc_dns.py
View file @
ad6ecc98
...
@@ -131,13 +131,10 @@ def add_or_update_record(dns_records):
...
@@ -131,13 +131,10 @@ def add_or_update_record(dns_records):
if
args
.
noop
:
if
args
.
noop
:
print
(
"Would have submitted the following change set:
\n
"
)
print
(
"Would have submitted the following change set:
\n
"
)
else
:
else
:
print
(
"Submitt
ed
the following change set:
\n
"
)
print
(
"Submitt
ing
the following change set:
\n
"
)
xml_doc
=
xml
.
dom
.
minidom
.
parseString
(
change_set
.
to_xml
())
xml_doc
=
xml
.
dom
.
minidom
.
parseString
(
change_set
.
to_xml
())
print
(
xml_doc
.
toprettyxml
(
newl
=
''
))
# newl='' to remove extra newlines
print
(
xml_doc
.
toprettyxml
(
newl
=
''
))
# newl='' to remove extra newlines
if
not
args
.
noop
:
if
not
args
.
noop
:
if
len
(
change_set
)
==
0
:
print
(
"No changes, not doing anything"
)
else
:
r53
.
change_rrsets
(
zone_id
,
change_set
.
to_xml
())
r53
.
change_rrsets
(
zone_id
,
change_set
.
to_xml
())
...
...
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