Skip to content

Commit

Permalink
Fix profile conversion not updating version number
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMagic committed May 6, 2018
1 parent 22169a8 commit 8655e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gremlin/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ def _convert_from_v6(self, root, fname):
"""
base_path = os.path.normcase(os.path.dirname(os.path.abspath(fname)))

root.attrib["version"] = "7"
for module in root.findall("import/module"):
module.attrib["name"] = os.path.normpath("{}\{}.py".format(
base_path,
Expand Down

0 comments on commit 8655e24

Please sign in to comment.