mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Print privates declaration for file.
This commit is contained in:
parent
d80d340eaf
commit
34b62a0a86
@ -81,10 +81,25 @@ def check_privates(filepath):
|
||||
|
||||
if len(missing) > 0:
|
||||
print (filepath)
|
||||
|
||||
private_output = 'private[';
|
||||
first = True
|
||||
for bad_priv in missing:
|
||||
if first:
|
||||
first = False
|
||||
private_output = private_output + '"' + bad_priv
|
||||
else:
|
||||
private_output = private_output + '", "' + bad_priv
|
||||
|
||||
private_output = private_output + '"];';
|
||||
print private_output
|
||||
|
||||
for bad_priv in missing:
|
||||
print ('\t' + bad_priv)
|
||||
bad_count_file = bad_count_file + 1
|
||||
|
||||
|
||||
|
||||
|
||||
return bad_count_file
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user