whitespace: scripts, setup.py, other
This commit is contained in:
parent
747279c106
commit
de6750a34b
8 changed files with 98 additions and 95 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys,os
|
||||
import sys, os
|
||||
|
||||
import script_init
|
||||
from mmgen.main import launch
|
||||
from mmgen.cfg import Config
|
||||
from mmgen.util import msg,Msg,make_chksum_6
|
||||
from mmgen.util import msg, Msg, make_chksum_6
|
||||
from mmgen.fileutil import get_lines_from_file
|
||||
|
||||
opts_data = {
|
||||
|
|
@ -23,7 +23,7 @@ cfg = Config(opts_data=opts_data)
|
|||
|
||||
def main():
|
||||
lines = get_lines_from_file(cfg, cfg._args[0])
|
||||
start = (1,0)[bool(cfg.include_first_line)]
|
||||
start = (1, 0)[bool(cfg.include_first_line)]
|
||||
a = make_chksum_6(' '.join(lines[start:]).encode())
|
||||
if start == 1:
|
||||
b = lines[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue