code cleanup
This commit is contained in:
14
pyfa.py
14
pyfa.py
@@ -28,22 +28,23 @@ import config
|
||||
|
||||
ascii_text = '''
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
__
|
||||
/ _|
|
||||
_ __ _ _ | |_ __ _
|
||||
|
||||
/ _|
|
||||
_ __ _ _ | |
|
||||
| '_ \ | | | || _|/ _` |
|
||||
| |_) || |_| || | | (_| |
|
||||
| .__/ \__, ||_| \__,_|
|
||||
| | __/ |
|
||||
|_| |___/
|
||||
| | __/ |
|
||||
|_| |___/
|
||||
|
||||
You are running a alpha/beta version of pyfa.
|
||||
You are running a alpha/beta version of pyfa.
|
||||
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
'''
|
||||
|
||||
print(ascii_text)
|
||||
|
||||
|
||||
class PassThroughOptionParser(OptionParser):
|
||||
"""
|
||||
An unknown option pass-through implementation of OptionParser.
|
||||
@@ -59,6 +60,7 @@ class PassThroughOptionParser(OptionParser):
|
||||
# pyfalog.error("Bad startup option passed.")
|
||||
largs.append(e.opt_str)
|
||||
|
||||
|
||||
# Parse command line options
|
||||
usage = "usage: %prog [--root]"
|
||||
parser = PassThroughOptionParser(usage=usage)
|
||||
|
||||
Reference in New Issue
Block a user