| Summary: | NameError: name 'err' is not defined | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Alexander Todorov <atodorov> |
| Component: | lab controller | Assignee: | Bill Peck <bpeck> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.6 | CC: | bpeck, dcallagh, mcsontos, rmancy, stl |
| Target Milestone: | future_maint | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 23:05:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 718119 | ||
| Bug Blocks: | |||
Description of problem: Python traceback. # /var/lib/cobbler/triggers/sync/post/osversion.trigger --verbose Traceback (most recent call last): File "/var/lib/cobbler/triggers/sync/post/osversion.trigger", line 287, in ? print str(err) NameError: name 'err' is not defined The related code is: 317 if __name__ == '__main__': 318 try: 319 opts, args = getopt.getopt(sys.argv[1:], "f") 320 force = False 321 for o, a in opts: 322 if o == '-f': 323 force = True 324 except: 325 print str(err) 326 usage() 327 sys.exit(2) Version-Release number of selected component (if applicable): beaker-lab-controller-0.6.8-5.el5 How reproducible: Always Steps to Reproduce: 1. Run osversion.trigger --verbose 2. 3. Actual results: Python traceback Expected results: The --verbose option doesn't exist. Print user friendly error message. Additional info: