Skip to content

Commit

Permalink
[FIX] Python 2 sample to python3
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Nov 12, 2020
1 parent 1318778 commit d7b2dc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions sample-charge-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
responses = SlipParser.parseFile(file)

for response in responses:
print response.identifier
print response.status()
print response.amountInCents
print response.fine
print response.content
print response.contentText()
print(response.identifier)
print(response.status())
print(response.amountInCents)
print(response.fine)
print(response.content)
print(response.contentText())
2 changes: 1 addition & 1 deletion sample-utility-payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
)

for lineNumber in lineNumbers:
print lineNumber
print(lineNumber)

lineNumber = LineNumberO(lineNumber)

Expand Down

0 comments on commit d7b2dc1

Please sign in to comment.