Document has slight Indentation error for requesting information from API using python in Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • As per the documentation example section 4.3.2. the main() needs to be indented otherwise the code will fail to run.

    if __name__ == "__main__":
      main()
    

Environment

Red Hat Satellite 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In