Remove 'Unused' Modules and Remove some more 'Out Of Scope' Code
This commit is contained in:
parent
f0332c2b56
commit
af0c408b01
@ -1,5 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
import requests
|
||||
import re
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
import os
|
||||
import sys
|
||||
import datetime
|
||||
import pytz
|
||||
|
||||
@ -33,7 +31,4 @@ def domainsbuilding(excluded ,incoming):
|
||||
f.write('\n'.join([line + '\n']))
|
||||
elif not line.strip():
|
||||
f.write('\n'.join([line + '\n']))
|
||||
f.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
domainsbuilding(None,'test.txt')
|
||||
f.close()
|
@ -1,5 +1,3 @@
|
||||
import os
|
||||
import sys
|
||||
import datetime
|
||||
import pytz
|
||||
|
||||
@ -36,7 +34,4 @@ def RPZbuilding(excluded,incoming,output):
|
||||
f.write('\n'.join([line + '\n']))
|
||||
elif not line.strip():
|
||||
f.write('\n'.join([line + '\n']))
|
||||
f.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
RPZbuilding(None,'test.txt','test.rpz')
|
||||
f.close()
|
Loading…
Reference in New Issue
Block a user