#remove all the trailing newlines on the line list
whilelines[-1].strip()=="":lines.pop()
iflines:
whilelines[-1].strip()=="":lines.pop()
#append all the domain lines
iflen(hosts)>0:
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.