mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Failed to commit some important changes.
This commit is contained in:
parent
387e5c1ab9
commit
707536725d
1 changed files with 4 additions and 2 deletions
|
|
@ -65,14 +65,16 @@ def main():
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
to_install = args.to_install or args.to_upgrade
|
||||||
|
to_sym = args.to_symlink or args.clean
|
||||||
|
|
||||||
|
|
||||||
if args.action:
|
if args.action:
|
||||||
if args.action is 'list':
|
if args.action is 'list':
|
||||||
list_themes(args.verbose)
|
list_themes(args.verbose)
|
||||||
elif args.action is 'path':
|
elif args.action is 'path':
|
||||||
print(_THEMES_PATH)
|
print(_THEMES_PATH)
|
||||||
elif args.to_install or args.to_remove or args.to_symlink or args.clean:
|
elif to_install or args.to_remove or to_sym:
|
||||||
|
|
||||||
if args.to_remove:
|
if args.to_remove:
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
print('Removing themes...')
|
print('Removing themes...')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue