Bug 286971

Summary: dump usage screen when no options given
Product: [Fedora] Fedora Reporter: David Cantrell <dcantrell>
Component: pungiAssignee: David Cantrell <dcantrell>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-20 21:55:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Cantrell 2007-09-11 22:04:44 UTC
Dump usage screen if user just runs 'pungi'.  Right now, you get this:

# pungi
Traceback (most recent call last):
  File "/usr/bin/pungi", line 208, in <module>
    main()
  File "/usr/bin/pungi", line 47, in main
    ksparser.readKickstart(opts.config)
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 642, in
readKickstart
    if not os.path.exists(file):
  File "/usr/lib/python2.5/posixpath.py", line 171, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Comment 1 Jesse Keating 2007-09-12 01:36:07 UTC
d'oh, I thought I had fixed this.  Silly me.  Will fix soon.

Comment 2 Jesse Keating 2007-11-20 21:55:48 UTC
Filed and tracked as https://hosted.fedoraproject.org/projects/pungi/ticket/61