Remove 'Unused' Modules and Remove some more 'Out Of Scope' Code

This commit is contained in:
minoplhy 2021-08-05 20:38:01 +07:00
parent f0332c2b56
commit af0c408b01
3 changed files with 2 additions and 13 deletions

View File

@ -1,5 +1,4 @@
import os
import sys
import requests
import re

View File

@ -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()

View File

@ -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()