Skip to content

Commit

Permalink
fix: python3 support
Browse files Browse the repository at this point in the history
Signed-off-by: Su Baocheng <baocheng.su@siemens.com>
  • Loading branch information
BaochengSu committed Oct 9, 2020
1 parent 7ce32f7 commit df03740
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#
# Adding --show_changes to the command line prints out a list of valid public API changes.

from __future__ import print_function
import copy
import os.path
import optparse
Expand Down Expand Up @@ -467,9 +468,9 @@ def main():
if arg_options.show_changes:
changes = compare_schemas(domains, baseline_domains, True)
if len(changes) > 0:
print " Public changes since %s:" % version
print(" Public changes since %s:" % version)
for change in changes:
print " %s" % change
print(" %s" % change)

if arg_options.stamp:
with open(arg_options.stamp, 'a') as _:
Expand Down

0 comments on commit df03740

Please sign in to comment.