Skip to content

Commit

Permalink
Fixing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Apr 16, 2020
1 parent f9dd341 commit 167c365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def to_json(self):

def to_xml(self):
''' Returns XML '''
xml = '<?xml version="1.0" encoding="UTF-8"?>\n'
xml += '<scvs>\n
xml = "<?xml version="1.0" encoding="UTF-8"?>\n"
xml += "<scvs>\n"

for r in self.requirements:

Expand All @@ -77,7 +77,7 @@ def to_xml(self):
+ "\" l3=\"" + str(r['l3']).lower() + "\">" \
+ escape(r['text']) + "</requirement>\n"

xml += '</scvs>\n
xml += "</scvs>\n"
return xml

def to_csv(self):
Expand Down

0 comments on commit 167c365

Please sign in to comment.