NetApp / ontap-rest-python

This repository contains sample code illustrating how to access the ONTAP REST API using Python. This Repository also contains ONTAPI Usage reporting code that helps to identify ONTAPI usage in your environment using ONTAP REST APIs.
BSD 3-Clause "New" or "Revised" License
62 stars 41 forks source link

syntax error in python_client_library list_volume.py #24

Closed snkellner closed 4 years ago

snkellner commented 4 years ago

sh-4.4# ./list_volume.py -c cluster -u admin Traceback (most recent call last): File "./list_volume.py", line 24, in from utils import Argument, parse_args, setup_logging, setup_connection File "/repositories/ontap-rest-python/examples/python_client_library/utils.py", line 460 print("\033[%sB" % (self._lines_drawn - 1)). ^ SyntaxError: invalid syntax

the dot in the last line has to be removed

RobertBlackhart commented 4 years ago

Thanks for the report, @snkellner. Looks like this ended up in there when it shouldn't have. I'll put in a fix very soon.