You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
One more
This commit is contained in:
@@ -51,7 +51,7 @@ PATTERNS = ("*.pyc", "*.pyo")
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
Usage_short = (
|
usage_short = (
|
||||||
"""usage: %s FILE...
|
"""usage: %s FILE...
|
||||||
Type -h for for full help."""
|
Type -h for for full help."""
|
||||||
% program
|
% program
|
||||||
@@ -59,7 +59,7 @@ Type -h for for full help."""
|
|||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
print("No file(s) given", file=sys.stderr)
|
print("No file(s) given", file=sys.stderr)
|
||||||
print(Usage_short, file=sys.stderr)
|
print(usage_short, file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -79,7 +79,7 @@ Type -h for for full help."""
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
print(opt)
|
print(opt)
|
||||||
print(Usage_short, file=sys.stderr)
|
print(usage_short, file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
for file in files:
|
for file in files:
|
||||||
|
Reference in New Issue
Block a user