Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1074692 - Missing code in Example 4.14
Missing code in Example 4.14
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.5.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Andrew Dahms
Laura Novich
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 16:51 EDT by Thom Carlin
Modified: 2016-01-26 20:58 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Build Name: 12978, Developer Guide-3.3-1 Build Date: 15-10-2013 11:16:58 Topic ID: 9220-383039 [Latest]
Last Closed: 2014-09-18 21:33:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thom Carlin 2014-03-10 16:51:43 EDT
Title: Example: Attaching an ISO Image to a Virtual Machine using Python

Describe the issue:

Last line in Example 4.14 is:
    print "Unexpected error: %s"

Suggestions for improvement:

Change last line in Example 4.14 to match Example 4.15: 
    print "Unexpected error: %s" % ex

Additional information:

Displayed when running example...
Without "% ex": "Unexpected error: %s" [literally]
With "% ex":    "Unexpected error: <actual exception>"  [actual error]
Comment 2 Andrew Dahms 2014-07-24 04:17:08 EDT
Documentation Link
------------------------------
https://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5-Beta/html-single/Technical_Guide/index.html#Example_Attaching_an_ISO_Image_to_a_Virtual_Machine_using_Python

What Changed
------------------------------
The following topic was revised to edit the error trapping block as mentioned above.

Example: Attaching an ISO Image to a Virtual Machine using Python [9220-682810]

Updated revision history: [34616-651639]

NVR
------------------------------
Red_Hat_Enterprise_Virtualization-Technical_Guide-3.5-Beta-en-US-3.5-3

Moving to ON_QA.

Note You need to log in before you can comment on or make changes to this bug.