mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Use a sensible default for empty setup.py gen command
This commit is contained in:
parent
3ed81481f8
commit
5a8f825db8
2
setup.py
2
setup.py
|
@ -62,7 +62,7 @@ def generate(which):
|
||||||
layer = find_layer(TLOBJECT_IN_TL)
|
layer = find_layer(TLOBJECT_IN_TL)
|
||||||
|
|
||||||
if not which:
|
if not which:
|
||||||
which.append('(empty)')
|
which.extend(('tl', 'errors'))
|
||||||
|
|
||||||
clean = 'clean' in which
|
clean = 'clean' in which
|
||||||
action = 'Cleaning' if clean else 'Generating'
|
action = 'Cleaning' if clean else 'Generating'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user